Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hello,

Can anyone help me to create and implement the template in vb.net (visual studio 2005).


Thanking U
Posted
Comments
Dave Kreskowiak 11-May-11 10:16am    
Come on, we can't read your mind. Template of WHAT?
Sergey Alexandrovich Kryukov 11-May-11 11:26am    
Is sound like OP is asking about C++ templates. No.
I answered about .NET generics -- the closest (but very different) concept.
--SA

1 solution

Do you mean templates like in C++? There is not such thing in .NET.

The question is not formulated clearly. Sorry if I'm answering wrong question — this is not entirely my fault.

The closest concept is .NET generic types.
See: http://msdn.microsoft.com/en-us/library/ms172192.aspx[^].
See also VB.NET only article Generics in VB.NET:
http://www.vbdotnetheaven.com/UploadFile/Saurabh.Mishra/GenericsInCsharp211232006000706AM/GenericsInCsharp2.aspx[^]

The generics are fundamentally different from C++ templates — they exist in compiled IL code as well.

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900