How to Create/Declare Class in C-Sharp(C#)

11 Mar 2014, 04:02 AM

In c sharp classes are declared by using the class keyword. See following example below.

public class Student
    //Fields, properties, methods and events go here...

public is Access Specifier that define the scope of the type and Student is the name of the class.

Related Contents

15 May 2014, 08:07 AM
C#, LINQ, List
15 May 2014, 07:54 AM
C#, LINQ, List
29 Apr 2014, 03:07 AM
C#, Generic
Explains how to declare class in c#

Date Posted 11 Mar 2014, 03:21 AM
Author Brainy Solutions
Views 2,143