I am studying a lot design pattern , as I think they solve a lot and it is very opportune to study them. I got this statement from the Macoratti website and I confess, I could not explain from where . What does that mean?
public interfa...
I have the following example of a program that implements the EF (Entity Framework). The bank and application structure is defined as follows:
Table Pessoa :
Primary key field: id_pessoa
Field name: nome
Field age:...
I have a project that works with a large volume of data, and I need to optimize it to bring results of some calculations in a considerably small time. I know I have several aspects to take into consideration, such as the structure in which the d...
I'm reading about classes in C #, and an excerpt left me a bit confused.
I know that classes are C # objects, and can be used in many ways.
My question is in the following sentence:
"A class can have both the attributes and methods of a...
I was seeing how the FileInfo class works and I came across an enum:
[Serializable]
[ComVisible(true)]
[Flags]
public enum FileAttributes
{
ReadOnly = 1,
Hidden = 2,
System = 4,
Directory = 16,
Archive = 32,
Devi...
There is a A1_ZTEL field in the database that is varchar(15) . This way, each user entered a record of all forms, with bar, dot, comma and letter.
Now I need to mount a form and read this field from another table that is var...
In Visual Basic 6 there was the err.number command where the error code occurred.
I have a C # application that treats exception for the message description because I can not find the command that returns the error code. I have a pro...
I've always used the blocks try , catch and finally when programming in Java, and when I switched to C # I noticed that some codes change try/catch by using .
Example:
using (FileStream fs = new FileStream("...