When would you use generics in your code c#?
Answer / Phanindra Nath Sinha
"Generics are useful when you want to write reusable code that can work with different data types. They allow you to create a single implementation of a class or method that can handle multiple data types without having to duplicate the code for each data type."
| Is This Answer Correct ? | 0 Yes | 0 No |
Can I use parseint?
Can a structure be inherited by a class?
How are delegates chosen?
How do you create user defined data types in c#?
What is cshtml extension?
What is an assembly qualified name
What is mvc in c#?
What is the difference between an integer and int?
What is a boolean c#?
what is a static constructor?
Explain the difference between and xml documentation tag?
What is the purpose of ienumerable in c#?
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)