The most common evaluation of a programmer is that the fundamentals are solid. This sentence itself has been pondering the meaning of it, until the problem of the construction function to realize that their basic knowledge is not solid.
constructor Syntax
A constructor is a method whose name is the same as the name of the type. Its method signature contains only the method name and its argument list, and it does not include the return type. The following example shows a constructor for a class named person.
Public class person{ privatestring last ; Private string First ; Public Person (stringstring firstName) { = lastName; = firstName; } // Remaining implementation of person class.}
Static Constructors
Not many of their own practical applications. Maybe the project manager hasn't reached a certain level yet. What you need to know is an official document that you can read directly to the C # Programming Guide.
For constructors, there is no return type, no return type, no return type (important thing to say three times), not void, because void is also the return type, see MSDN.
Reference: C # Programming Guide
C # Constructors