PC Review


Reply
Thread Tools Rate Thread

converter C# 1.0 to C#2.0

 
 
cody
Guest
Posts: n/a
 
      29th Dec 2004
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?


 
Reply With Quote
 
 
 
 
Daniel O'Connell [C# MVP]
Guest
Posts: n/a
 
      29th Dec 2004

"cody" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Softe Audio Converter - Audio Converter, Joiner/Merger,Cutter/Splitter, Ripper, Player music-fan Windows Vista General Discussion 1 20th Jul 2010 09:39 PM
Full Guide of Using Video Converter for Mac OS X like[MP4,M2TS,MPG,MOD,MKV,AVI,M4V]Converter for Mac. fashion2010 Windows Vista Mail 0 6th Jul 2010 03:01 AM
2007 to 2003 converter (docx-doc) "CONVERTER FAILED TO SAVE THE FI =?Utf-8?B?UHJvZmVzc29yIE0=?= Microsoft Word Document Management 2 6th Sep 2007 06:14 PM
PowerPoint 97 Batch Converter (Pptcvt.exe) - Batch Converter Error Paul L Microsoft Powerpoint 11 31st Jul 2005 08:25 PM
looking for Converter between VB.NET and C# Mike Strieder Microsoft Dot NET Framework 4 7th Sep 2003 11:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:27 AM.