Saturday, June 01, 2013

Constructor Code Snippit

ctor + tab + tab

Auto Macro Code Snippet for CLASS constructor in Visual Studio

class Employee
 // Contructor
{
           public Employ()
           {
            // Default property for FirstName
            FirstName = ""  // Better than NULL which is the default


             }
}

Post a Comment