Is C# 2.0 fully implemented?

  • Thread starter Anders Borum [.NET/C# MCP]
  • Start date
A

Anders Borum [.NET/C# MCP]

Hello!

A longer version of this posting was originally sent to the C# whidbey
newsgroup, but it seems like those newsgroups don't get much attention from
Microsoft.

I'm wondering on the status of C# 2.0 and whether it's been fully
implemented in the released betas of VS .NET or we can expect compilation
errors originating from an incomplete C# 2.0 compiler.

Thanks in advance!
 
C

cody

I know of a few syntax changes they made. For example something with
generics changed and they renamed a VB keyword for partial classes.
 
A

Abubakar

I think its not done as the vs.net (or the framework 2.0) are still in the
beta 1 phase, so I think yes we can expect errors in the compiler.

Ab.
 
A

Anders Borum [.NET/C# MCP]

Hello Cody

Thanks for the quick reply.
I know of a few syntax changes they made. For example something with
generics changed and they renamed a VB keyword for partial classes.

I've had some problems with generics - it seemed like the compiler
complained about conversion between different types etc. that didn't make
much sense (to me, atleast). Initially this cause a great deal of headache,
but I guess that's the price of using beta software.

Maybe I should post my findings to Microsoft .. probably a good idea.

However, posting on the Whidbey C# newsgroup makes no sense, as nobody seem
to me reading it.
 
W

Willy Denoyette [MVP]

Anders Borum said:
Hello Cody
However, posting on the Whidbey C# newsgroup makes no sense, as nobody
seem
to me reading it.

What makes you think that?
I think your question is to general, be more specific. If you have and
compiler issues with generics, just explain with a code snip and compiler
output what the issues are.

Willy.
 
A

Anders Borum [.NET/C# MCP]

Hello!
What makes you think that?
I think your question is to general, be more specific. If you have and
compiler issues with generics, just explain with a code snip and compiler
output what the issues are.

Well, the question was pretty straightforward I think, but I'm not going
into a debate about this. I guess the traffic here makes one pretty spoiled
..

Regardless, I got a few great answers - they're appreaciated.
 
F

Frans Bouma [C# MVP]

Anders said:
Hello Cody

Thanks for the quick reply.




I've had some problems with generics - it seemed like the compiler
complained about conversion between different types etc. that didn't make
much sense (to me, atleast). Initially this cause a great deal of headache,
but I guess that's the price of using beta software.

Maybe I should post my findings to Microsoft .. probably a good idea.

However, posting on the Whidbey C# newsgroup makes no sense, as nobody seem
to me reading it.

Bugs in whidbey should be posted in Ladybug:
http://lab.msdn.microsoft.com/productfeedback/default.aspx

so they get noted, commented on and fixed. So if you run into an issue
with generics, please take the time to file a bug there.

Frans

--
 
D

Derrick Coetzee [MSFT]

Anders Borum said:
I'm wondering on the status of C# 2.0 and whether it's been fully
implemented in the released betas of VS .NET or we can expect compilation
errors originating from an incomplete C# 2.0 compiler.

I don't work in the VS group, but I can tell you there are product groups
inside Microsoft which use Whidbey for all their building. This is a very
solid beta, and there are not likely to be significant changes to the
language beyond this point. (Of course, I don't promise you won't encounter
compiler bugs or see significant changes still, but I'd be surprised.) In
particular, generics seem to work fine, although if you haven't used any
form of generics before there is a bit of a learning curve. If there's any
particular problem you're experiencing, please post the details of it --
even a misleading compiler error can be considered a bug.
 
A

Anders Borum [.NET/C# MCP]

Hello!

As per posting by Frans Bouma, I will double check again and file a bug,
which I'm not 100% sure it is - but it looks quite strange (perhaps because
I'm trying to bend generics in ways in which it was not designed - or
because I have limited experience with it - who knows :).

Regardless, I'm going to take a stab at it.

Thanks again for all the replies to my original question!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top