What is difference between a type and class?
Answer / Puja Rani
In C#, a Type represents an abstract description of a data structure that can be used by the CLR to create instances and manipulate them at runtime. A Class is a user-defined data structure that can contain properties, methods, events, indexers, constructors, operator overloading, etc. All classes are types but not all types are classes; there are also structures, enums, interfaces, arrays, and delegates which are also types.
| Is This Answer Correct ? | 0 Yes | 0 No |
About a class access specifiers and method access specifiers ?
What is difference between dynamic and var in c#?
What does || mean in programming?
What are interfaces in c#?
What is dataview c#?
Say true or false,Private constructor have object or not?
What is difference between C# and VB.NET?
How do you debug an ASP.NET Web application?
Is a decimal an integer?
How to use the sreamReader class to read form a text file?
What is difference between string and string builder?
What is static classes?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)