Technical Interview Questions & Answers

Collection and sharing of, interview questions and answers asked in various interviews, faqs and articles.....

Showing posts with label NET (c#) OOPS. Show all posts
Showing posts with label NET (c#) OOPS. Show all posts

What’s the .NET collection class that allows an element to be accessed using a unique key?

›
HashTable.

Can you store multiple data types in System.Array?

›
Ans: No

Decribe the term immutable mean?

›
The data value may not be changed. Note: The variable value may be changed, but the original immutable data value was discarded and a new ...

What’s the top .NET class that everything is derived from?

›
Ans:-System.Object.

Explain the accessibility modifier “protected internal” in one line.

›
It is available to classes that are within the same assembly and derived from the specified base class

can you private inherite class-level variables ?

›
Ans:- Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited.

Protected class-level variable available for Which Class?

›
Ans:- It is available to any sub-class (a class inheriting this class).

Does C# support multiple-inheritance?

›
Ans:- No

OOPS Interview Question With Answer--C#

›
enforce a call from an inherited constructor to an arbitrary base constructor? Q) If a base class has a bunch of overloaded constructor...

NET (c#) OOPS

›
1. What is Object Oriented Programming ? 2. What’s a Class ? 3. What’s a Object ? 4. What’s the relation between Classes and Objects ? 5. Wh...
›
Home
View web version
Powered by Blogger.