473,503 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to use generics with vs.net 2003 ??

Is there a way to use generics with vs.net 2003??

I was searching around and I saw gyro but does it works with vs.net 2003??
if it does how am I suppouse to install it.

If it doesnt is there any other tool that let me?? Searching I found
http://www.ericjsmith.net/codesmith/ but it works only for asp.net.

Any ideas??

Thanks a lot in advance
Nov 15 '05 #1
3 1284
Fred,

Unfortunately, it does not. 2003 is created to work with 1.1 of the
..NET framework, and I'm sure there are a number of differences in the gryo
version that would cause VS.NET to freak out (to say the least).

I would just wait for VS.NET 2004.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com

"Fred" <fe****@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP11.phx.gbl...
Is there a way to use generics with vs.net 2003??

I was searching around and I saw gyro but does it works with vs.net 2003??
if it does how am I suppouse to install it.

If it doesnt is there any other tool that let me?? Searching I found
http://www.ericjsmith.net/codesmith/ but it works only for asp.net.

Any ideas??

Thanks a lot in advance

Nov 15 '05 #2

"Fred" <fe****@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP11.phx.gbl...
Is there a way to use generics with vs.net 2003??

In short, no.
That brings a question to mind, does vs 2003 use the 1.1 compiler and
switches, etc for compiling 1.0 apps, or does it use the 1.0 compiler...I've
never thought(nor am even sure how) to find out.
I was searching around and I saw gyro but does it works with vs.net 2003??
if it does how am I suppouse to install it.

If it doesnt is there any other tool that let me?? Searching I found
http://www.ericjsmith.net/codesmith/ but it works only for asp.net.
That should work for any project type, as far as I know, but it is still not
really generics. Generics support is currently limited to gyro & the 2.0
version of the framework(and perhaps mono, I don't konw how far along they
are).
If you want to use gyro or are lucky enough to have gotten your hands on a
MS built compiler with generics, you will probably have to use notepad\some
other text editor currently. Any ideas??

Thanks a lot in advance

Nov 15 '05 #3
Fred, Nicholas already answered the first part of your question (VS.Net 2003
won't do generics). You can definitely use gyro and the SSCLI (Shared
Source CLI) to play around with generics. You can use any text editor to
create your cs files and then use the command line compiler to compile your
app. I would definitely recommend playing around with gyro and the SSCLI,
you'll learn a ton about .Net.

--
Greg Ewing [MVP]
http://www.citidc.com
"Fred" <fe****@hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP11.phx.gbl...
Is there a way to use generics with vs.net 2003??

I was searching around and I saw gyro but does it works with vs.net 2003??
if it does how am I suppouse to install it.

If it doesnt is there any other tool that let me?? Searching I found
http://www.ericjsmith.net/codesmith/ but it works only for asp.net.

Any ideas??

Thanks a lot in advance

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2126
by: andrew queisser | last post by:
I've been trying to dynamically create a class DevT that's derived from a generic base GenBase<T>. It doesn't seem to work. I'm attaching a code sample below that illustrates the problem. ...
27
2440
by: Bernardo Heynemann | last post by:
How can I use Generics? How can I use C# 2.0? I already have VS.NET 2003 Enterprise Edition and still can´t use generics... I´m trying to make a generic collection myCollection<vartype> and...
4
5970
by: Brian | last post by:
Hi, According to An Introduction to C# Generics (http://www.msdn.microsoft.com/vcsharp/default.aspx? pull=/library/en-us/dv_vstechart/html/csharp_generics.asp) the AttributeUsage enumeration...
3
1104
by: John Sparrow | last post by:
After reading all the info about Generics in C#, when are we going to get them? Is this something planned for the Longhorn release, or sooner? Thanks, John
1
1760
by: Antony Kumar | last post by:
Hi I am new to Visual C#.NET 2003. How could i use Generics in Visual C#.NET 2003. Pls provide step-step information to do it in Visual C#.NET 2003. -- Beginner Visual C#.NET2003
12
2715
by: Michael S | last post by:
Why do people spend so much time writing complex generic types? for fun? to learn? for use? I think of generics like I do about operator overloading. Great to have as a language-feature, as...
9
5947
by: sloan | last post by:
I'm not the sharpest knife in the drawer, but not a dummy either. I'm looking for a good book which goes over Generics in great detail. and to have as a reference book on my shelf. Personal...
13
3792
by: rkausch | last post by:
Hello everyone, I'm writing because I'm frustrated with the implementation of C#'s generics, and need a workaround. I come from a Java background, and am currently writing a portion of an...
5
1445
by: Fredo | last post by:
I'm new to Generics (years and years of VS.NET 2003 development, but very little .NET 2.0+). I have some routines for conversion from RGB to different color spaces and back. I would like the...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6993
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.