473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Generics - C#2.0

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 still no
can do...

Any info would be great!

Thanx
Bernardo Heynemann
Nov 15 '05 #1
27 2433
Hi Bernardo,

Generics come with Whidbey - next VS.NET.
If you have MSDN Universal subscription you might contact MS and they'll
send you a copy on DVD.
Otherwise - check out Mono (http://www.go-mono.com/) - I think they support
generics or
Rotor -
http://research.microsoft.com/Collab...ope/RFP/Rotor/

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
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 still no
can do...

Any info would be great!

Thanx
Bernardo Heynemann

Nov 15 '05 #2
Bernardo,

Generics and C# 2.0 is slated for release with Visual Studio .NET 2004.
Neither is available in VS.NET 2003.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
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 still no
can do...

Any info would be great!

Thanx
Bernardo Heynemann

Nov 15 '05 #3
Bernardo,

MS research has released their version. C# 2.0 is based on their work.

http://research.microsoft.com/projects/clrgen/

--
Greg Ewing [MVP]
http://www.citidc.com/

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
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 still no
can do...

Any info would be great!

Thanx
Bernardo Heynemann

Nov 15 '05 #4
It is NOT specific to 2004 VSnet.

It IS specific to 2004 .NET RUNTIME

You can even get the benifit from 2002 if you install the latest runtime.

You dont need VSnet 2004 to run generics in C# 2.0.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:u3**************@TK2MSFTNGP09.phx.gbl...
Bernardo,

Generics and C# 2.0 is slated for release with Visual Studio .NET 2004. Neither is available in VS.NET 2003.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
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 still no can do...

Any info would be great!

Thanx
Bernardo Heynemann


Nov 15 '05 #5

<di********@discussion.microsoft.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
It is NOT specific to 2004 VSnet.

It IS specific to 2004 .NET RUNTIME

You can even get the benifit from 2002 if you install the latest runtime.

You dont need VSnet 2004 to run generics in C# 2.0.
No, but you need the 2004 compiler and runtime, which niether vs.net 2002
nor 2003 will use.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:u3**************@TK2MSFTNGP09.phx.gbl...
Bernardo,

Generics and C# 2.0 is slated for release with Visual Studio .NET 2004.
Neither is available in VS.NET 2003.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
How can I use Generics?
How can I use C# 2.0?

I already have VS.NET 2003 Enterprise Edition and still can$B%((Bt use
generics...
I$B%((Bm trying to make a generic collection myCollection<vartype> and
still no can do...

Any info would be great!

Thanx
Bernardo Heynemann



Nov 15 '05 #6
Thanx a lot,
but if i install this in VS.NET 2003 will I be able to use generics in my
project?

Thank you anyway.
Bernardo Heynemann

"Greg Ewing [MVP]" <gewing@_NO_SPAM_citidc.com> escreveu na mensagem
news:OB**************@TK2MSFTNGP12.phx.gbl...
Bernardo,

MS research has released their version. C# 2.0 is based on their work.

http://research.microsoft.com/projects/clrgen/

--
Greg Ewing [MVP]
http://www.citidc.com/

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
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 still no can do...

Any info would be great!

Thanx
Bernardo Heynemann


Nov 15 '05 #7
Install the SDK; that has the compilers u twonk.
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:#G**************@TK2MSFTNGP12.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
It is NOT specific to 2004 VSnet.

It IS specific to 2004 .NET RUNTIME

You can even get the benifit from 2002 if you install the latest runtime.
You dont need VSnet 2004 to run generics in C# 2.0.
No, but you need the 2004 compiler and runtime, which niether vs.net 2002
nor 2003 will use.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote

in
message news:u3**************@TK2MSFTNGP09.phx.gbl...
Bernardo,

Generics and C# 2.0 is slated for release with Visual Studio .NET

2004.
Neither is available in VS.NET 2003.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
> How can I use Generics?
> How can I use C# 2.0?
>
> I already have VS.NET 2003 Enterprise Edition and still can$B%((Bt use > generics...
> I$B%((Bm trying to make a generic collection myCollection<vartype>

and still
no
> can do...
>
> Any info would be great!
>
> Thanx
> Bernardo Heynemann
>
>



Nov 15 '05 #8
I should clarify, the reason I said VS.NET 2004 was because I didn't
want to confuse the original poster by splitting hairs over the .NET
runtime, VS.NET, etc, etc.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
It is NOT specific to 2004 VSnet.

It IS specific to 2004 .NET RUNTIME

You can even get the benifit from 2002 if you install the latest runtime.
You dont need VSnet 2004 to run generics in C# 2.0.
No, but you need the 2004 compiler and runtime, which niether vs.net 2002
nor 2003 will use.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote

in
message news:u3**************@TK2MSFTNGP09.phx.gbl...
Bernardo,

Generics and C# 2.0 is slated for release with Visual Studio .NET

2004.
Neither is available in VS.NET 2003.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
> How can I use Generics?
> How can I use C# 2.0?
>
> I already have VS.NET 2003 Enterprise Edition and still can$B%((Bt use > generics...
> I$B%((Bm trying to make a generic collection myCollection<vartype>

and still
no
> can do...
>
> Any info would be great!
>
> Thanx
> Bernardo Heynemann
>
>



Nov 15 '05 #9
How do you think SharpDevelop and 3rd party IDEs function? Stupid dumbass.

<di********@discussion.microsoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
Install the SDK; that has the compilers u twonk.
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:#G**************@TK2MSFTNGP12.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
It is NOT specific to 2004 VSnet.

It IS specific to 2004 .NET RUNTIME

You can even get the benifit from 2002 if you install the latest runtime.
You dont need VSnet 2004 to run generics in C# 2.0.
No, but you need the 2004 compiler and runtime, which niether vs.net 2002
nor 2003 will use.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in
message news:u3**************@TK2MSFTNGP09.phx.gbl...
> Bernardo,
>
> Generics and C# 2.0 is slated for release with Visual Studio

..NET 2004.
> Neither is available in VS.NET 2003.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mv*@spam.guard.caspershouse.com
>
> "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> news:OP**************@TK2MSFTNGP10.phx.gbl...
> > How can I use Generics?
> > How can I use C# 2.0?
> >
> > I already have VS.NET 2003 Enterprise Edition and still

can$B%((Bt use > > generics...
> > I$B%((Bm trying to make a generic collection
myCollection<vartype> and
still
no
> > can do...
> >
> > Any info would be great!
> >
> > Thanx
> > Bernardo Heynemann
> >
> >
>
>



Nov 15 '05 #10
No, as some have said before, you have to wait for the next version of the
SDK or VS.NET.

Willy.

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OA**************@TK2MSFTNGP09.phx.gbl...
Thanx a lot,
but if i install this in VS.NET 2003 will I be able to use generics in my
project?

Thank you anyway.
Bernardo Heynemann

"Greg Ewing [MVP]" <gewing@_NO_SPAM_citidc.com> escreveu na mensagem
news:OB**************@TK2MSFTNGP12.phx.gbl...
Bernardo,

MS research has released their version. C# 2.0 is based on their work.

http://research.microsoft.com/projects/clrgen/

--
Greg Ewing [MVP]
http://www.citidc.com/

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
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
still
no can do...

Any info would be great!

Thanx
Bernardo Heynemann



Nov 15 '05 #11
Im running 1.1 on VSnet 2002 atm and will run 2.0 on VSnet 2002 also.

You can upgrade if you want.

Currently the only other feature is a ffagoty UI enhancement and POGO (for
refactoring - winforms dont refactor at all well on the designer so I dont
hold up much hopes for POGO and winforms and designer mode - class viewer is
not gona have refactoring by drag n drop its just gona be right click,
generate parameters, cut n paste to a method refactoring half aarsed
approach - not worth the upgrade).

Just run the SDK on you're current IDE. Good enuf. And will get access to
the generics you need.


"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl...
No, as some have said before, you have to wait for the next version of the
SDK or VS.NET.

Willy.

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OA**************@TK2MSFTNGP09.phx.gbl...
Thanx a lot,
but if i install this in VS.NET 2003 will I be able to use generics in my project?

Thank you anyway.
Bernardo Heynemann

"Greg Ewing [MVP]" <gewing@_NO_SPAM_citidc.com> escreveu na mensagem
news:OB**************@TK2MSFTNGP12.phx.gbl...
Bernardo,

MS research has released their version. C# 2.0 is based on their work.
http://research.microsoft.com/projects/clrgen/

--
Greg Ewing [MVP]
http://www.citidc.com/

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
> 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

still
no
> can do...
>
> Any info would be great!
>
> Thanx
> Bernardo Heynemann
>
>



Nov 15 '05 #12

<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
How do you think SharpDevelop and 3rd party IDEs function? Stupid dumbass. That doesn't change that vs.net 2002 or 2003 will not support generics. The
compiler paths are pretty well hard coded. With 1.0 and 1.1 you can half ass
it, it is still not correct.


<di********@discussion.microsoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
Install the SDK; that has the compilers u twonk.
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:#G**************@TK2MSFTNGP12.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
> It is NOT specific to 2004 VSnet.
>
> It IS specific to 2004 .NET RUNTIME
>
> You can even get the benifit from 2002 if you install the latest

runtime.
>
> You dont need VSnet 2004 to run generics in C# 2.0.

No, but you need the 2004 compiler and runtime, which niether vs.net 2002 nor 2003 will use.

>
>
>
> "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
> message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > Bernardo,
> >
> > Generics and C# 2.0 is slated for release with Visual Studio .NET > 2004.
> > Neither is available in VS.NET 2003.
> >
> > Hope this helps.
> >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - mv*@spam.guard.caspershouse.com
> >
> > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > How can I use Generics?
> > > How can I use C# 2.0?
> > >
> > > I already have VS.NET 2003 Enterprise Edition and still

can$B%((Bt
use
> > > generics...
> > > I$B%((Bm trying to make a generic collection

myCollection<vartype>
and
still
> no
> > > can do...
> > >
> > > Any info would be great!
> > >
> > > Thanx
> > > Bernardo Heynemann
> > >
> > >
> >
> >
>
>



Nov 15 '05 #13

<di********@discussion.microsoft.com> wrote in message
news:ut**************@tk2msftngp13.phx.gbl...
Im running 1.1 on VSnet 2002 atm and will run 2.0 on VSnet 2002 also.
Probably won't compile, I'm afraid to say. Have you actually checked your
exectuables and ensured they are compiling under 1.1? Just having the SDK
installed does not change how VS.NET 2002 works, it will still use the 1.0
compilers and framework. While there are some hacks, their support and
actual correctness is subject to question and may not work in the 2.0
series.

Also, I imagine the built in intellisense will throw a fit about the
generics, which kind of defeats the point of using an IDE if the system
isn't capable of understanding the language you are using.

You can upgrade if you want.

Currently the only other feature is a ffagoty UI enhancement and POGO (for
refactoring - winforms dont refactor at all well on the designer so I dont
hold up much hopes for POGO and winforms and designer mode - class viewer is not gona have refactoring by drag n drop its just gona be right click,
generate parameters, cut n paste to a method refactoring half aarsed
approach - not worth the upgrade).

Just run the SDK on you're current IDE. Good enuf. And will get access to
the generics you need.


"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl...
No, as some have said before, you have to wait for the next version of the
SDK or VS.NET.

Willy.

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OA**************@TK2MSFTNGP09.phx.gbl...
Thanx a lot,
but if i install this in VS.NET 2003 will I be able to use generics in

my project?

Thank you anyway.
Bernardo Heynemann

"Greg Ewing [MVP]" <gewing@_NO_SPAM_citidc.com> escreveu na mensagem
news:OB**************@TK2MSFTNGP12.phx.gbl...
> Bernardo,
>
> MS research has released their version. C# 2.0 is based on their work. >
> http://research.microsoft.com/projects/clrgen/
>
> --
> Greg Ewing [MVP]
> http://www.citidc.com/
>
>
>
> "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> news:OP**************@TK2MSFTNGP10.phx.gbl...
> > How can I use Generics?
> > How can I use C# 2.0?
> >
> > I already have VS.NET 2003 Enterprise Edition and still can$B%((Bt use
> > generics...
> > I$B%((Bm trying to make a generic collection myCollection<vartype> and

still
no
> > can do...
> >
> > Any info would be great!
> >
> > Thanx
> > Bernardo Heynemann
> >
> >
>
>



Nov 15 '05 #14
Actually yes they do because I removed 1.0 :D
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
How do you think SharpDevelop and 3rd party IDEs function? Stupid dumbass.

That doesn't change that vs.net 2002 or 2003 will not support generics.

The compiler paths are pretty well hard coded. With 1.0 and 1.1 you can half ass it, it is still not correct.


<di********@discussion.microsoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
Install the SDK; that has the compilers u twonk.
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:#G**************@TK2MSFTNGP12.phx.gbl...
>
> <di********@discussion.microsoft.com> wrote in message
> news:Oh**************@TK2MSFTNGP10.phx.gbl...
> > It is NOT specific to 2004 VSnet.
> >
> > It IS specific to 2004 .NET RUNTIME
> >
> > You can even get the benifit from 2002 if you install the latest
runtime.
> >
> > You dont need VSnet 2004 to run generics in C# 2.0.
>
> No, but you need the 2004 compiler and runtime, which niether vs.net

2002
> nor 2003 will use.
>
> >
> >
> >
> > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>

wrote
> in
> > message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > > Bernardo,
> > >
> > > Generics and C# 2.0 is slated for release with Visual Studio

.NET
> > 2004.
> > > Neither is available in VS.NET 2003.
> > >
> > > Hope this helps.
> > >
> > >
> > > --
> > > - Nicholas Paldino [.NET/C# MVP]
> > > - mv*@spam.guard.caspershouse.com
> > >
> > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > How can I use Generics?
> > > > How can I use C# 2.0?
> > > >
> > > > I already have VS.NET 2003 Enterprise Edition and still

can$B%((Bt
use
> > > > generics...
> > > > I$B%((Bm trying to make a generic collection

myCollection<vartype>
and
> still
> > no
> > > > can do...
> > > >
> > > > Any info would be great!
> > > >
> > > > Thanx
> > > > Bernardo Heynemann
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #15
We will see, those that cant get it working can always switch to another IDE
if they dont want to upgrade. Or use a p2p download :D

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:ut**************@tk2msftngp13.phx.gbl...
Im running 1.1 on VSnet 2002 atm and will run 2.0 on VSnet 2002 also.
Probably won't compile, I'm afraid to say. Have you actually checked your
exectuables and ensured they are compiling under 1.1? Just having the SDK
installed does not change how VS.NET 2002 works, it will still use the 1.0
compilers and framework. While there are some hacks, their support and
actual correctness is subject to question and may not work in the 2.0
series.

Also, I imagine the built in intellisense will throw a fit about the
generics, which kind of defeats the point of using an IDE if the system
isn't capable of understanding the language you are using.

You can upgrade if you want.

Currently the only other feature is a ffagoty UI enhancement and POGO (for
refactoring - winforms dont refactor at all well on the designer so I dont hold up much hopes for POGO and winforms and designer mode - class viewer is
not gona have refactoring by drag n drop its just gona be right click,
generate parameters, cut n paste to a method refactoring half aarsed
approach - not worth the upgrade).

Just run the SDK on you're current IDE. Good enuf. And will get access

to the generics you need.


"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl...
No, as some have said before, you have to wait for the next version of the SDK or VS.NET.

Willy.

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OA**************@TK2MSFTNGP09.phx.gbl...
> Thanx a lot,
> but if i install this in VS.NET 2003 will I be able to use generics in my
> project?
>
> Thank you anyway.
> Bernardo Heynemann
>
> "Greg Ewing [MVP]" <gewing@_NO_SPAM_citidc.com> escreveu na mensagem
> news:OB**************@TK2MSFTNGP12.phx.gbl...
> > Bernardo,
> >
> > MS research has released their version. C# 2.0 is based on their

work.
> >
> > http://research.microsoft.com/projects/clrgen/
> >
> > --
> > Greg Ewing [MVP]
> > http://www.citidc.com/
> >
> >
> >
> > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > How can I use Generics?
> > > How can I use C# 2.0?
> > >
> > > I already have VS.NET 2003 Enterprise Edition and still

can$B%((Bt use > > > generics...
> > > I$B%((Bm trying to make a generic collection myCollection<vartype> and still
> no
> > > can do...
> > >
> > > Any info would be great!
> > >
> > > Thanx
> > > Bernardo Heynemann
> > >
> > >
> >
> >
>
>



Nov 15 '05 #16

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Actually yes they do because I removed 1.0 :D

Have you actually CHECKED, or are you just assuming?

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
How do you think SharpDevelop and 3rd party IDEs function? Stupid

dumbass.

That doesn't change that vs.net 2002 or 2003 will not support generics.

The
compiler paths are pretty well hard coded. With 1.0 and 1.1 you can half

ass
it, it is still not correct.


<di********@discussion.microsoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
> Install the SDK; that has the compilers u twonk.
>
>
> "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
> news:#G**************@TK2MSFTNGP12.phx.gbl...
> >
> > <di********@discussion.microsoft.com> wrote in message
> > news:Oh**************@TK2MSFTNGP10.phx.gbl...
> > > It is NOT specific to 2004 VSnet.
> > >
> > > It IS specific to 2004 .NET RUNTIME
> > >
> > > You can even get the benifit from 2002 if you install the latest
> runtime.
> > >
> > > You dont need VSnet 2004 to run generics in C# 2.0.
> >
> > No, but you need the 2004 compiler and runtime, which niether vs.net 2002
> > nor 2003 will use.
> >
> > >
> > >
> > >
> > > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
> > in
> > > message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > > > Bernardo,
> > > >
> > > > Generics and C# 2.0 is slated for release with Visual Studio .NET
> > > 2004.
> > > > Neither is available in VS.NET 2003.
> > > >
> > > > Hope this helps.
> > > >
> > > >
> > > > --
> > > > - Nicholas Paldino [.NET/C# MVP]
> > > > - mv*@spam.guard.caspershouse.com
> > > >
> > > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message > > > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > > How can I use Generics?
> > > > > How can I use C# 2.0?
> > > > >
> > > > > I already have VS.NET 2003 Enterprise Edition and still
can$B%((Bt
> use
> > > > > generics...
> > > > > I$B%((Bm trying to make a generic collection
myCollection<vartype>
> and
> > still
> > > no
> > > > > can do...
> > > > >
> > > > > Any info would be great!
> > > > >
> > > > > Thanx
> > > > > Bernardo Heynemann
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #17

<di********@discussion.microsoft.com> wrote in message
news:ut**************@TK2MSFTNGP12.phx.gbl...
We will see, those that cant get it working can always switch to another IDE if they dont want to upgrade. Or use a p2p download :D

That is their choice, I simply doubt it will work in 2002 or 2003. I doubt
your claim that the 1.0 compilers work in 2002 or 2003.


"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:ua**************@TK2MSFTNGP11.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:ut**************@tk2msftngp13.phx.gbl...
Im running 1.1 on VSnet 2002 atm and will run 2.0 on VSnet 2002 also.
Probably won't compile, I'm afraid to say. Have you actually checked your
exectuables and ensured they are compiling under 1.1? Just having the SDK installed does not change how VS.NET 2002 works, it will still use the 1.0 compilers and framework. While there are some hacks, their support and
actual correctness is subject to question and may not work in the 2.0
series.

Also, I imagine the built in intellisense will throw a fit about the
generics, which kind of defeats the point of using an IDE if the system
isn't capable of understanding the language you are using.

You can upgrade if you want.

Currently the only other feature is a ffagoty UI enhancement and POGO (for refactoring - winforms dont refactor at all well on the designer so I dont hold up much hopes for POGO and winforms and designer mode - class viewer
is
not gona have refactoring by drag n drop its just gona be right click,
generate parameters, cut n paste to a method refactoring half aarsed
approach - not worth the upgrade).

Just run the SDK on you're current IDE. Good enuf. And will get access to the generics you need.


"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:eg**************@TK2MSFTNGP11.phx.gbl...
> No, as some have said before, you have to wait for the next version
of the
> SDK or VS.NET.
>
> Willy.
>
> "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> news:OA**************@TK2MSFTNGP09.phx.gbl...
> > Thanx a lot,
> > but if i install this in VS.NET 2003 will I be able to use
generics in my
> > project?
> >
> > Thank you anyway.
> > Bernardo Heynemann
> >
> > "Greg Ewing [MVP]" <gewing@_NO_SPAM_citidc.com> escreveu na
mensagem > > news:OB**************@TK2MSFTNGP12.phx.gbl...
> > > Bernardo,
> > >
> > > MS research has released their version. C# 2.0 is based on their work.
> > >
> > > http://research.microsoft.com/projects/clrgen/
> > >
> > > --
> > > Greg Ewing [MVP]
> > > http://www.citidc.com/
> > >
> > >
> > >
> > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > How can I use Generics?
> > > > How can I use C# 2.0?
> > > >
> > > > I already have VS.NET 2003 Enterprise Edition and still

can$B%((Bt use > > > > generics...
> > > > I$B%((Bm trying to make a generic collection myCollection<vartype> and > still
> > no
> > > > can do...
> > > >
> > > > Any info would be great!
> > > >
> > > > Thanx
> > > > Bernardo Heynemann
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #18
Ive checked, because I removed it , every thing gone paf. 1.1 works for me.
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:OX**************@TK2MSFTNGP11.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Actually yes they do because I removed 1.0 :D


Have you actually CHECKED, or are you just assuming?

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
> How do you think SharpDevelop and 3rd party IDEs function? Stupid
dumbass.
>
That doesn't change that vs.net 2002 or 2003 will not support generics.
The
compiler paths are pretty well hard coded. With 1.0 and 1.1 you can
half
ass
it, it is still not correct.

>
>
> <di********@discussion.microsoft.com> wrote in message
> news:eS**************@tk2msftngp13.phx.gbl...
> > Install the SDK; that has the compilers u twonk.
> >
> >
> > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in

message > > news:#G**************@TK2MSFTNGP12.phx.gbl...
> > >
> > > <di********@discussion.microsoft.com> wrote in message
> > > news:Oh**************@TK2MSFTNGP10.phx.gbl...
> > > > It is NOT specific to 2004 VSnet.
> > > >
> > > > It IS specific to 2004 .NET RUNTIME
> > > >
> > > > You can even get the benifit from 2002 if you install the latest > > runtime.
> > > >
> > > > You dont need VSnet 2004 to run generics in C# 2.0.
> > >
> > > No, but you need the 2004 compiler and runtime, which niether

vs.net > 2002
> > > nor 2003 will use.
> > >
> > > >
> > > >
> > > >
> > > > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> > wrote
> > > in
> > > > message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > > > > Bernardo,
> > > > >
> > > > > Generics and C# 2.0 is slated for release with Visual Studio > .NET
> > > > 2004.
> > > > > Neither is available in VS.NET 2003.
> > > > >
> > > > > Hope this helps.
> > > > >
> > > > >
> > > > > --
> > > > > - Nicholas Paldino [.NET/C# MVP]
> > > > > - mv*@spam.guard.caspershouse.com
> > > > >
> > > > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message > > > > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > > > How can I use Generics?
> > > > > > How can I use C# 2.0?
> > > > > >
> > > > > > I already have VS.NET 2003 Enterprise Edition and still
> can$B%((Bt
> > use
> > > > > > generics...
> > > > > > I$B%((Bm trying to make a generic collection
> myCollection<vartype>
> > and
> > > still
> > > > no
> > > > > > can do...
> > > > > >
> > > > > > Any info would be great!
> > > > > >
> > > > > > Thanx
> > > > > > Bernardo Heynemann
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #19
Did you remove the 1.0 SDK AND Framework(C#, J#, and VB compilers actually
come with the framework, not the SDK)? Check to make sure
c:\windows\microsoft.net\framework\v1.0.3705\ doesn't exist?

<di********@discussion.microsoft.com> wrote in message
news:uK**************@TK2MSFTNGP10.phx.gbl...
Ive checked, because I removed it , every thing gone paf. 1.1 works for me.

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:OX**************@TK2MSFTNGP11.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Actually yes they do because I removed 1.0 :D


Have you actually CHECKED, or are you just assuming?

"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl...
>
> <di********@discussion.microsoft.com> wrote in message
> news:uO**************@tk2msftngp13.phx.gbl...
> > How do you think SharpDevelop and 3rd party IDEs function? Stupid
> dumbass.
> >
> That doesn't change that vs.net 2002 or 2003 will not support generics. The
> compiler paths are pretty well hard coded. With 1.0 and 1.1 you can half ass
> it, it is still not correct.
>
> >
> >
> > <di********@discussion.microsoft.com> wrote in message
> > news:eS**************@tk2msftngp13.phx.gbl...
> > > Install the SDK; that has the compilers u twonk.
> > >
> > >
> > > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message > > > news:#G**************@TK2MSFTNGP12.phx.gbl...
> > > >
> > > > <di********@discussion.microsoft.com> wrote in message
> > > > news:Oh**************@TK2MSFTNGP10.phx.gbl...
> > > > > It is NOT specific to 2004 VSnet.
> > > > >
> > > > > It IS specific to 2004 .NET RUNTIME
> > > > >
> > > > > You can even get the benifit from 2002 if you install the latest > > > runtime.
> > > > >
> > > > > You dont need VSnet 2004 to run generics in C# 2.0.
> > > >
> > > > No, but you need the 2004 compiler and runtime, which niether

vs.net
> > 2002
> > > > nor 2003 will use.
> > > >
> > > > >
> > > > >
> > > > >
> > > > > "Nicholas Paldino [.NET/C# MVP]"

<mv*@spam.guard.caspershouse.com>
> > wrote
> > > > in
> > > > > message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > > > > > Bernardo,
> > > > > >
> > > > > > Generics and C# 2.0 is slated for release with Visual

Studio
> > .NET
> > > > > 2004.
> > > > > > Neither is available in VS.NET 2003.
> > > > > >
> > > > > > Hope this helps.
> > > > > >
> > > > > >
> > > > > > --
> > > > > > - Nicholas Paldino [.NET/C# MVP]
> > > > > > - mv*@spam.guard.caspershouse.com
> > > > > >
> > > > > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in

message
> > > > > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > > > > How can I use Generics?
> > > > > > > How can I use C# 2.0?
> > > > > > >
> > > > > > > I already have VS.NET 2003 Enterprise Edition and still
> > can$B%((Bt
> > > use
> > > > > > > generics...
> > > > > > > I$B%((Bm trying to make a generic collection
> > myCollection<vartype>
> > > and
> > > > still
> > > > > no
> > > > > > > can do...
> > > > > > >
> > > > > > > Any info would be great!
> > > > > > >
> > > > > > > Thanx
> > > > > > > Bernardo Heynemann
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #20
Is dumbass really a word ?
<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
How do you think SharpDevelop and 3rd party IDEs function? Stupid dumbass.
<di********@discussion.microsoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
Install the SDK; that has the compilers u twonk.
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:#G**************@TK2MSFTNGP12.phx.gbl...

<di********@discussion.microsoft.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
> It is NOT specific to 2004 VSnet.
>
> It IS specific to 2004 .NET RUNTIME
>
> You can even get the benifit from 2002 if you install the latest

runtime.
>
> You dont need VSnet 2004 to run generics in C# 2.0.

No, but you need the 2004 compiler and runtime, which niether vs.net 2002 nor 2003 will use.

>
>
>
> "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
> message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > Bernardo,
> >
> > Generics and C# 2.0 is slated for release with Visual Studio .NET > 2004.
> > Neither is available in VS.NET 2003.
> >
> > Hope this helps.
> >
> >
> > --
> > - Nicholas Paldino [.NET/C# MVP]
> > - mv*@spam.guard.caspershouse.com
> >
> > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > How can I use Generics?
> > > How can I use C# 2.0?
> > >
> > > I already have VS.NET 2003 Enterprise Edition and still

can$B%((Bt
use
> > > generics...
> > > I$B%((Bm trying to make a generic collection

myCollection<vartype>
and
still
> no
> > > can do...
> > >
> > > Any info would be great!
> > >
> > > Thanx
> > > Bernardo Heynemann
> > >
> > >
> >
> >
>
>



Nov 15 '05 #21
> You can even get the benifit from 2002 if you install the latest runtime.

Ah, no, if .NET Framework 1.1 didn't work with VS 2002 (which it didn't)
then neither will .NET Framework 2.0.

Jon
<di********@discussion.microsoft.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
It is NOT specific to 2004 VSnet.

It IS specific to 2004 .NET RUNTIME

You can even get the benifit from 2002 if you install the latest runtime.

You dont need VSnet 2004 to run generics in C# 2.0.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:u3**************@TK2MSFTNGP09.phx.gbl...
Bernardo,

Generics and C# 2.0 is slated for release with Visual Studio .NET 2004.
Neither is available in VS.NET 2003.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
news:OP**************@TK2MSFTNGP10.phx.gbl...
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
still no can do...

Any info would be great!

Thanx
Bernardo Heynemann



Nov 15 '05 #22
"Miha Markic" <miha at rthand com> wrote in message news:<e3**************@TK2MSFTNGP12.phx.gbl>...
Generics come with Whidbey - next VS.NET.
If you have MSDN Universal subscription you might contact MS and they'll
send you a copy on DVD.
Otherwise - check out Mono (http://www.go-mono.com/) - I think they support
generics or
Rotor -
http://research.microsoft.com/Collab...ope/RFP/Rotor/


The Rotor+Gyro version of C# generics is kind of restrictive: it
allows only one constraint for the generics. So at this point it is
more like an experimental feature. It's usable, but could be
painful/annoying in practice.

Java's generics from their Early Access currently already allow
multiple constraints.

I always wonder who pushed whom. I know Java people kept
postponing/refusing to incorporate generics for many years. Is Java
incorporating generics now due to pressure from C#, or is C#
incorporating generics because Java is going to do it?

regards,

Hung Jung
Nov 15 '05 #23
I think dumbarse would be the correct spelling ...

"james" <no****@hypercon.net> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Is dumbass really a word ?
<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
How do you think SharpDevelop and 3rd party IDEs function? Stupid

dumbass.

<di********@discussion.microsoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
Install the SDK; that has the compilers u twonk.
"Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
news:#G**************@TK2MSFTNGP12.phx.gbl...
>
> <di********@discussion.microsoft.com> wrote in message
> news:Oh**************@TK2MSFTNGP10.phx.gbl...
> > It is NOT specific to 2004 VSnet.
> >
> > It IS specific to 2004 .NET RUNTIME
> >
> > You can even get the benifit from 2002 if you install the latest
runtime.
> >
> > You dont need VSnet 2004 to run generics in C# 2.0.
>
> No, but you need the 2004 compiler and runtime, which niether vs.net

2002
> nor 2003 will use.
>
> >
> >
> >
> > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com>

wrote
> in
> > message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > > Bernardo,
> > >
> > > Generics and C# 2.0 is slated for release with Visual Studio

.NET
> > 2004.
> > > Neither is available in VS.NET 2003.
> > >
> > > Hope this helps.
> > >
> > >
> > > --
> > > - Nicholas Paldino [.NET/C# MVP]
> > > - mv*@spam.guard.caspershouse.com
> > >
> > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message
> > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > How can I use Generics?
> > > > How can I use C# 2.0?
> > > >
> > > > I already have VS.NET 2003 Enterprise Edition and still

can$B%((Bt
use
> > > > generics...
> > > > I$B%((Bm trying to make a generic collection

myCollection<vartype>
and
> still
> > no
> > > > can do...
> > > >
> > > > Any info would be great!
> > > >
> > > > Thanx
> > > > Bernardo Heynemann
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #24
Hung Jung Lu <hu********@yahoo.com> wrote:
I always wonder who pushed whom. I know Java people kept
postponing/refusing to incorporate generics for many years. Is Java
incorporating generics now due to pressure from C#, or is C#
incorporating generics because Java is going to do it?


Java has been planning to have generics for a very long time. It's been
put off so that they could "get it right" (although I'm not convinced
they're doing so; from what I've seen I prefer the C# version). I
rather suspect that generics has always been in .NET's plan, but time
constraints prevented MS from including it in V1.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 15 '05 #25
Unless it refers to donkeys....
"john farrow" <vi*******@xtra.co.nz> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
I think dumbarse would be the correct spelling ...

"james" <no****@hypercon.net> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Is dumbass really a word ?
<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
How do you think SharpDevelop and 3rd party IDEs function? Stupid

dumbass.

<di********@discussion.microsoft.com> wrote in message
news:eS**************@tk2msftngp13.phx.gbl...
> Install the SDK; that has the compilers u twonk.
>
>
> "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message
> news:#G**************@TK2MSFTNGP12.phx.gbl...
> >
> > <di********@discussion.microsoft.com> wrote in message
> > news:Oh**************@TK2MSFTNGP10.phx.gbl...
> > > It is NOT specific to 2004 VSnet.
> > >
> > > It IS specific to 2004 .NET RUNTIME
> > >
> > > You can even get the benifit from 2002 if you install the latest
> runtime.
> > >
> > > You dont need VSnet 2004 to run generics in C# 2.0.
> >
> > No, but you need the 2004 compiler and runtime, which niether vs.net 2002
> > nor 2003 will use.
> >
> > >
> > >
> > >
> > > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
> > in
> > > message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > > > Bernardo,
> > > >
> > > > Generics and C# 2.0 is slated for release with Visual Studio .NET
> > > 2004.
> > > > Neither is available in VS.NET 2003.
> > > >
> > > > Hope this helps.
> > > >
> > > >
> > > > --
> > > > - Nicholas Paldino [.NET/C# MVP]
> > > > - mv*@spam.guard.caspershouse.com
> > > >
> > > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message > > > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > > How can I use Generics?
> > > > > How can I use C# 2.0?
> > > > >
> > > > > I already have VS.NET 2003 Enterprise Edition and still
can$B%((Bt
> use
> > > > > generics...
> > > > > I$B%((Bm trying to make a generic collection
myCollection<vartype>
> and
> > still
> > > no
> > > > > can do...
> > > > >
> > > > > Any info would be great!
> > > > >
> > > > > Thanx
> > > > > Bernardo Heynemann
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #26
Maybe to get around the filters on the server for posting.
"Stu Smith" <st*****@remove.digita.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Unless it refers to donkeys....
"john farrow" <vi*******@xtra.co.nz> wrote in message
news:eQ**************@TK2MSFTNGP11.phx.gbl...
I think dumbarse would be the correct spelling ...

"james" <no****@hypercon.net> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Is dumbass really a word ?
<di********@discussion.microsoft.com> wrote in message
news:uO**************@tk2msftngp13.phx.gbl...
> How do you think SharpDevelop and 3rd party IDEs function? Stupid
dumbass.
>
>
>
> <di********@discussion.microsoft.com> wrote in message
> news:eS**************@tk2msftngp13.phx.gbl...
> > Install the SDK; that has the compilers u twonk.
> >
> >
> > "Daniel O'Connell" <onyxkirx@--NOSPAM--comcast.net> wrote in message > > news:#G**************@TK2MSFTNGP12.phx.gbl...
> > >
> > > <di********@discussion.microsoft.com> wrote in message
> > > news:Oh**************@TK2MSFTNGP10.phx.gbl...
> > > > It is NOT specific to 2004 VSnet.
> > > >
> > > > It IS specific to 2004 .NET RUNTIME
> > > >
> > > > You can even get the benifit from 2002 if you install the latest > > runtime.
> > > >
> > > > You dont need VSnet 2004 to run generics in C# 2.0.
> > >
> > > No, but you need the 2004 compiler and runtime, which niether vs.net > 2002
> > > nor 2003 will use.
> > >
> > > >
> > > >
> > > >
> > > > "Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> > wrote
> > > in
> > > > message news:u3**************@TK2MSFTNGP09.phx.gbl...
> > > > > Bernardo,
> > > > >
> > > > > Generics and C# 2.0 is slated for release with Visual Studio > .NET
> > > > 2004.
> > > > > Neither is available in VS.NET 2003.
> > > > >
> > > > > Hope this helps.
> > > > >
> > > > >
> > > > > --
> > > > > - Nicholas Paldino [.NET/C# MVP]
> > > > > - mv*@spam.guard.caspershouse.com
> > > > >
> > > > > "Bernardo Heynemann" <be******@bancobva.com.br> wrote in message > > > > > news:OP**************@TK2MSFTNGP10.phx.gbl...
> > > > > > How can I use Generics?
> > > > > > How can I use C# 2.0?
> > > > > >
> > > > > > I already have VS.NET 2003 Enterprise Edition and still
> can$B%((Bt
> > use
> > > > > > generics...
> > > > > > I$B%((Bm trying to make a generic collection
> myCollection<vartype>
> > and
> > > still
> > > > no
> > > > > > can do...
> > > > > >
> > > > > > Any info would be great!
> > > > > >
> > > > > > Thanx
> > > > > > Bernardo Heynemann
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Nov 15 '05 #27
Jon is correct. We would have loved to have had generics in VS2002, but
there was no way to make it fit.

--
Eric Gunnerson

Visit the C# product team at http://www.csharp.net
Eric's blog is at http://blogs.gotdotnet.com/ericgu/

This posting is provided "AS IS" with no warranties, and confers no rights.
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
Hung Jung Lu <hu********@yahoo.com> wrote:
I always wonder who pushed whom. I know Java people kept
postponing/refusing to incorporate generics for many years. Is Java
incorporating generics now due to pressure from C#, or is C#
incorporating generics because Java is going to do it?


Java has been planning to have generics for a very long time. It's been
put off so that they could "get it right" (although I'm not convinced
they're doing so; from what I've seen I prefer the C# version). I
rather suspect that generics has always been in .NET's plan, but time
constraints prevented MS from including it in V1.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 15 '05 #28

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

Similar topics

2
by: Mr.Tickle | last post by:
So whats the deal here regarding Generics in the 2004 release and templates currently in C++?
23
by: Luc Vaillant | last post by:
I need to initialise a typed parameter depending of its type in a generic class. I have tried to use the C++ template form as follow, but it doesn't work. It seems to be a limitation of generics...
12
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...
5
by: anders.forsgren | last post by:
This is a common problem with generics, but I hope someone has found the best way of solving it. I have these classes: "Fruit" which is a baseclass, and "Apple" which is derived. Further I have...
11
by: herpers | last post by:
Hello, I probably don't see the obvious, but maybe you can help me out of this mess. The following is my problem: I created two classes NormDistribution and DiscDistribution. Both classes...
9
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...
1
by: Vladimir Shiryaev | last post by:
Hello! Exception handling in generics seems to be a bit inconsistent to me. Imagine, I have "MyOwnException" class derived from "ApplicationException". I also have two classes...
7
by: SpotNet | last post by:
Hello NewsGroup, Reading up on Generics in the .NET Framework 2.0 using C# 2005 (SP1), I have a question on the application of Generics. Knowingly, Generic classes are contained in the...
13
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.