blogspot visit counter

Friday, 16 May 2014

Modifier in c#

MVC asp.net interview questions and answers
    1) Abstract
    2) Sealed
    3) Virtual
    4) Const
    5) Event
    6) Extern
    7) Override
   8)  Readonly
    9) Static
    10) New



  Types of access modifiers in C#?
1) public
2) protect
3) private
4) internal
5) internal protect

Small description related to access modifiers shown below :-

Access modifiers are keywords used to specify the declared accessibility of a member or a type. This section introduces the four access modifiers:

. Public - Access is not restricted.

. Protected - Access is limited to the containing class or types derived from the containing class.

. Internal - Access is limited to the current assembly.

. Protected inertnal - Access is limited to the current assembly or types derived . from the containing class.

. Private - Access is limited to the containing type.

Type of array in c# 

 1) Single-Dimensional

2) Multidimensional

 3) Jagged arrays.


No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...