View Light

HOWTO: Use Line Numbers in C#

Not really sure why'd you'd do such a thing these days, but C# does support GOTO, so this guy used it to do a line-by-line conversion of an ancient Star Trek written in BASIC in 1972.

The VERY first time I ever touched a computer, it was to play this game! It was on an ancient teletype (Known to me then as the "Magic Typewriter") tapped into some machine at Purdue University. My 7 year old brain could not grasp the concept of this game, so I never won, although I played MANY times - but it was the coolest thing I'd ever seen.

The guy does both a line-by-line conversion using the most horrible-looking C# code I've ever imagined, as well as (Probably so he doesn't die from ridicule!) doing a proper conversion to C# format.

Nicely done in both cases!

This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available in our efforts to advance understanding of environmental, political, human rights, economic, democracy, scientific, and social justice issues, etc. We believe this constitutes a 'fair use' of any such copyrighted material as provided for in section 107 of the US Copyright Law. In accordance with Title 17 U.S.C. Section 107, the material on this site is distributed without profit to those who have expressed a prior interest in receiving the included information for research and educational purposes. For more information go to: . If you wish to use copyrighted material from this site for purposes of your own that go beyond 'fair use', you must obtain permission from the copyright owner.