Usage of generics in .net projects
-
Hi, Can any one tell where we can use generics to gain performance (except collections) in .net projects with WCF services. Thanks and Regards, Kalyan
Implementing algorithms like a simple stack using generics have shown a gain in performance.
-
Hi, Can any one tell where we can use generics to gain performance (except collections) in .net projects with WCF services. Thanks and Regards, Kalyan
Generic would always increase performance If you avoid using generics then you must need to either type cast or apply boxing and unboxing which ultimately degrades performance. To evaluate performance (To get idea about benefits of generics) http://csharpfeeds.com/post/1468/Use_Generics_to_improve_performance.aspx[^] Hope this will help!
Jinal Desai - LIVE Experience is mother of sage....
-
Hi, Can any one tell where we can use generics to gain performance (except collections) in .net projects with WCF services. Thanks and Regards, Kalyan
Nope.
-
Generic would always increase performance If you avoid using generics then you must need to either type cast or apply boxing and unboxing which ultimately degrades performance. To evaluate performance (To get idea about benefits of generics) http://csharpfeeds.com/post/1468/Use_Generics_to_improve_performance.aspx[^] Hope this will help!
Jinal Desai - LIVE Experience is mother of sage....