GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  Basics

 Print  |  
Question:  Define class, module and access specifiers.



July 07, 2009 08:24:42 #2
 chintan.desai   Member Since: July 2009    Total Comments: 8 

RE: Define class, module and access specifiers.
 
Class is a type where you can create your own type. Just as int data type in .Net which takes only integer values and having default API's such as toString().
 Similarly, you can create your own type having API's which do some operation for your type.

Module: Its same as Namespace.

Access Specifier: Assign the scope for variable or method.
Below are scrope in C#.Net:
private, protected, internal, protected internal,public
     

 

Back To Question