By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,656 Members | 909 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,656 IT Pros & Developers. It's quick & easy.

converter C# 1.0 to C#2.0

P: n/a
Is there/will there be a converter from C# 1.0 to C#2.0 which will for
example convert classes with only static members to static classes, convert
eventhandlers from "list.SelectedIndexChanged+=new EventHandler(selChange)"
to "list.SelectedIndexChanged+=selChange" or split up gui classes into
partial classes where one contains user code and the other contains the
initializecomponent method and designer variables?
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

"cody" <de********@gmx.de> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Is there/will there be a converter from C# 1.0 to C#2.0 which will for
example convert classes with only static members to static classes,
convert eventhandlers from "list.SelectedIndexChanged+=new
EventHandler(selChange)" to "list.SelectedIndexChanged+=selChange" or
split up gui classes into partial classes where one contains user code and
the other contains the initializecomponent method and designer variables?

I've not heard of anything and would suspect not one from MS. There is very
little real need for it as both sets of code will compile. Old code that
compiles and is already tested being converted increases the chance for
errors.

However, I wouldn't be surprised if someone dreams up a utility to do so,
pretty much any C# parser should be adaptable to such a tool.
Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.