[Solved] Name of method same as class, what does it mean?


From MSDN

A constructor is a method whose name is the same as the name of its
type. Its method signature includes only the method name and its
parameter list; it does not include a return type. The following
example shows the constructor for a class named Person.

public class Person
{
   private string last;
   private string first;

   public Person(string lastName, string firstName)
   {
      last = lastName;
      first = firstName;
   }

   // Remaining implementation of Person class.
}

solved Name of method same as class, what does it mean?