Category: C# Basic

List of C# basic interview questions for freshers with best answers and notes asked in software job interviews. | Only Real

What is Identifiers in C Sharp? Can Identifiers have same name as Keywords?

Answer includes definition of Identifiers and keywords in C sharp. We will also be answering the best practice if they have same name. Identifier: Identifier is a name given to variables, classes, functions and interfaces etc. Identifiers name can be combination of letters, numbers, and underscores, but, cannot start with a number or else error.…

Read the full article

If any method of a class is sealed, does it mean, class is also sealed? How is it different than abstract class?

Answer: No, in any class if we have sealed method it does not mean that the class is sealed. This rule is only apply to an abstract class that if any class have at least one abstract method, the class becomes an abstract class.   Differences: Sealed and Abstract class We cannot create object of…

Read the full article