adspace


What are different types of classes in c#?

Answer Posted / Chhaya Goswami

In C#, there are two main types of classes: value types (structs) and reference types (classes). Additionally, C# provides abstract classes which cannot be instantiated directly, and interfaces that define a contract for a set of methods and properties.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which namespaces are necessary to create a localized application?

1151


What is an abstract class c#?

978


What is expression tree in c#?

1007


Why can't we use a static class instead of singleton?

963


How to assign Null value to Var?

1073


How do you inherit a class into other class in c#?

1001