473,385 Members | 1,655 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,385 software developers and data experts.

Generix in C#

Hi,

From which version do I get template stuff in C#.

I was trying something like

ArrayList<Point> pa;
etc.

And it didn't work. It was at work and I don't recall the version I have
there. Does it depend on the .net framework too?

Thanks.
---
Cheers,
Tom Tempelaere

Nov 15 '05 #1
5 1293
Generics are in Whidbey which is not in a public beta right now

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
..NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/de...tml/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
---------------------------------------------------------------
"TT (Tom Tempelaere)" <_N**************@hotmail.comMAPSO_N_> wrote in
message news:1M*********************@phobos.telenet-ops.be...
Hi,

From which version do I get template stuff in C#.

I was trying something like

ArrayList<Point> pa;
etc.

And it didn't work. It was at work and I don't recall the version I have
there. Does it depend on the .net framework too?

Thanks.
---
Cheers,
Tom Tempelaere

Nov 15 '05 #2
To clairify things. Whideby is the project name for Visual Studio.NET 2004
and I believe it has a targeted release in Q4 this year.

//Andreas

"Sam Gentile [MVP - C#/.NET]" <sa*@nomail.com> skrev i meddelandet
news:O2**************@tk2msftngp13.phx.gbl...
Generics are in Whidbey which is not in a public beta right now

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
.NET Blog http://samgentile.com/blog/
MSDN Column:
http://msdn.microsoft.com/library/de...tml/bridge.asp Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights. ---------------------------------------------------------------
"TT (Tom Tempelaere)" <_N**************@hotmail.comMAPSO_N_> wrote in
message news:1M*********************@phobos.telenet-ops.be...
Hi,

From which version do I get template stuff in C#.

I was trying something like

ArrayList<Point> pa;
etc.

And it didn't work. It was at work and I don't recall the version I have
there. Does it depend on the .net framework too?

Thanks.
---
Cheers,
Tom Tempelaere


Nov 15 '05 #3
Damn, running ahead :). It akes not having templates for collections.

Thanks,
---
Cheers,
Tom Tempelaere
"Andreas Håkansson" <andy.h (at) telia.com> wrote in message
news:e0*************@TK2MSFTNGP11.phx.gbl...
To clairify things. Whideby is the project name for Visual Studio.NET 2004
and I believe it has a targeted release in Q4 this year.

//Andreas

"Sam Gentile [MVP - C#/.NET]" <sa*@nomail.com> skrev i meddelandet
news:O2**************@tk2msftngp13.phx.gbl...
Generics are in Whidbey which is not in a public beta right now

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
.NET Blog http://samgentile.com/blog/
MSDN Column:

http://msdn.microsoft.com/library/de...tml/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no

rights.
---------------------------------------------------------------
"TT (Tom Tempelaere)" <_N**************@hotmail.comMAPSO_N_> wrote in
message news:1M*********************@phobos.telenet-ops.be...
Hi,

From which version do I get template stuff in C#.

I was trying something like

ArrayList<Point> pa;
etc.

And it didn't work. It was at work and I don't recall the version I have there. Does it depend on the .net framework too?

Thanks.
---
Cheers,
Tom Tempelaere



Nov 15 '05 #4
I know I'm counting the days left ... =)

//Andreas

"TT (Tom Tempelaere)" <_N**************@hotmail.comMAPSO_N_> skrev i
meddelandet news:F5*********************@phobos.telenet-ops.be...
Damn, running ahead :). It akes not having templates for collections.

Thanks,
---
Cheers,
Tom Tempelaere
"Andreas Håkansson" <andy.h (at) telia.com> wrote in message
news:e0*************@TK2MSFTNGP11.phx.gbl...
To clairify things. Whideby is the project name for Visual Studio.NET 2004
and I believe it has a targeted release in Q4 this year.

//Andreas

"Sam Gentile [MVP - C#/.NET]" <sa*@nomail.com> skrev i meddelandet
news:O2**************@tk2msftngp13.phx.gbl...
Generics are in Whidbey which is not in a public beta right now

--
--------------------------------------------------------------
Sam Gentile [C#/.NET MVP]
.NET Blog http://samgentile.com/blog/
MSDN Column:

http://msdn.microsoft.com/library/de...tml/bridge.asp
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no

rights.
---------------------------------------------------------------
"TT (Tom Tempelaere)" <_N**************@hotmail.comMAPSO_N_> wrote in
message news:1M*********************@phobos.telenet-ops.be...
> Hi,
>
> From which version do I get template stuff in C#.
>
> I was trying something like
>
> ArrayList<Point> pa;
> etc.
>
> And it didn't work. It was at work and I don't recall the version I have > there. Does it depend on the .net framework too?
>
> Thanks.
> ---
> Cheers,
> Tom Tempelaere
>
>
>



Nov 15 '05 #5
Tom,
I was trying something like

ArrayList<Point> pa;


FWIW, the generic version if ArrayList is simply called List and is in
the System.Collections.Generic namespace. So when you get a chance to
try it, you should use

List<Point> pa;

Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 15 '05 #6

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

Similar topics

3
by: Fran Cotton | last post by:
Hi, I'd greatly appreciate it if someone could cast light on my problem - I can't seem to find any reference to it anywhere. Consider the following XML: <paragraph> I am...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.