C#.NET interview questions


Total available count: 70
Subject - Microsoft Technologies
Subsubject - C#.NET

What is Sealed class?

If a class needs to be restricted from being Inherited by another class then that should be declared using Sealed modifier.

Example: 
class sealed Slightbook
{
  public void InterviewQuestions(string a)
  {
     //Implementation goes here
  }
}



Next 3 interview question(s)

1
What is Static keyword?
2
What is the difference between Static constructor and Private constructor?
3
What is the role of the new operator in object creation?


Comments