are practicualar to use generic methods all time
what are disavantages of uses generic method?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Riddhi ValechaRank #794 · 2.9K reputationPosted Apr 30, 2015, 4:36 AM EDT
Using generic methods or not depends on your system / project requirements.
Refer -
http://forums.asp.net/t/1963822.aspx?Write+a+Generic+Method+
This is the best - Swapping Example.
Manoj BhoirRank #599 · 4K reputationPosted Apr 30, 2015, 9:12 PM EDT
Generics introduce to the .NET Framework the concept of type parameters, which make it possible to design classes and methods that defer the specification of one or more types until the class or method is declared and instantiated by client code.
Advantages and Limitations of Generics
https://msdn.microsoft.com/en-us/library/ms172194%28v=vs.110%29.aspx
Use of Generics and it's Advantages
https://msdn.microsoft.com/en-us/library/512aeb7t.aspx