when i use generics in a dot net real time project

Posted by Spandanasrinivas under ASP.NET on 3/5/2010 | Views : 14122 | Status : [Member] | Replies : 3
i wants to know when and where i can use generics cpncept of dot net in a real time project. also how to use this.
i am 3years experienced in dot net in mnc in pune. but i did not do any realtime project till this time. please let me know when i use generics in realtime prokect.
thank you.

srinivas


Responses

Posted by: Abhi2434 on: 3/6/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
Well, Generics is actually Type safe Template implementation of .NET.

In case of generics, you can pass the type of the object with the object itself, so the methods are type independent. Of course you can provide restriction on types. Thus it generates the types in real time

You might read this short tutorial
http://www.15seconds.com/issue/031024.htm

www.abhisheksur.com

Spandanasrinivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sagarp on: 3/25/2010 [Member] Bronze

Up
0
Down

check following links

http://nayyeri.net/use-generics-to-improve-performance 


http://www.code-magazine.com/Article.aspx?quickid=0703061

http://msdn.microsoft.com/en-us/library/ms172181.aspx


Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Spandanasrinivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sagarp on: 3/25/2010 [Member] Bronze

Up
0
Down
http://msdn.microsoft.com/en-us/library/ms172181.aspx

Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/

Spandanasrinivas, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response