What is anonymous class in c#?
Answer / Sachin Kumar Singh
Anonymous classes in C# are classes without a name. They are used when you need to create a temporary class for one-time use, such as when working with LINQ query results. Anonymous classes can only have automatic properties and cannot be inherited or instantiated outside the containing method.
| Is This Answer Correct ? | 0 Yes | 0 No |
How objects are stored in memory?
What is the difference between TypeOf and GetType?
Can we inherit abstract class in c#?
Is c# front end or back end?
What is difference between ilist and list in c#?
What is the name of c# compiler?
What is the components of window?
Explain how can I get around scope problems in a try/catch?
what is a callback function?
Does a class need a constructor c#?
What is the difference between these statements obj=null and obj.dispose()
What is a proxy of the server object in .NET Remoting?
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)