Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > General forums > Development
User Name
Password
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-10-2007, 06:48 AM   #1 (permalink)
PerritoBites
Registered User
 
PerritoBites's Avatar
 
Join Date: Dec 2003
Location: PR, UY, ROC
Posts: 1,534
-4 Internets
Java/C++ to C#

Looking for some advise on how to learn C#. This would be the first time I will learn a language outside of the "class" environment and I was hoping I can get some advice on these msg boards. I know Java and C++ and I heard C# is a ripoff of Java, so I guess learning C# won't be too hard. Can anyone give me some tips on how to learn this language on my own and what to expect out of C# when compared to Java? I think I should mention that I haven't coded in Java for at least a year and half so I will need to refresh my memory hehe. I was thinking of buying the O'Relly "Programing C#: Building .NET Applications with C#" since the book describes what I want to do. I can probably learn it all from the book, but I have limited time (1 week) and I will be working during that time, so I can really use some advise on how to learn it faster.

Also, if anyone can recommend any code editors, compilers, or whatever it is that you use for C#, I would greatly appreciate it!
__________________
AoC - Tyranny - Perrito (Alt: Henyuki)
DotA - US East - Perrito


Quote:
Originally Posted by Lumie View Post
you guys are ass holes for being complete morons
PerritoBites is online now   Reply With Quote
Old 11-10-2007, 07:20 AM   #2 (permalink)
x1hundredregrets
Reactor Zero
 
x1hundredregrets's Avatar
 
Join Date: Dec 2002
Posts: 296
-4 Internets
I would recommend downloading Visual C# Express 2005. It's free, and a good environment to get started.

On top of that I would google something on the lines of "Differences between Java and C#".

Once you read the differences you really should just jump in and start trying stuff. The syntax of the two languages literally are almost identical.
x1hundredregrets is offline   Reply With Quote
Old 11-10-2007, 08:16 AM   #3 (permalink)
Tenks
Registered User
 
Join Date: Nov 2003
Posts: 367
-16 Internets
As said above at the basic levels Java and C# are pretty close. Some of the stuff is a bit different like a Java for-each loop and a C# use slightly different syntax

Code:
for(Object obj: objects)
vs
Code:
for each(Object obj in objects)
Then at the higher level there are some differences. Such as C# being able to pass by reference, use pointers and have unmanaged code blocks. All things I wish Java would also support. C# can also have delegate methods which I'm not sure if Java can. Java probably can do it via Reflection but it'll be a lot sloppier to read. C# is pretty much just a mash of Java and C++ together to form a pretty good language. Sometimes the language is a tad verbose for me, though.
Tenks is offline   Reply With Quote
Old 11-10-2007, 07:28 PM   #4 (permalink)
Kallian
CHARLIE DON'T SURF!
 
Kallian's Avatar
 
Join Date: Jul 2004
Posts: 777
+0 Internets
I went from 5 years of Java to a development position where I code in C#. Completely painless transition.

You can read all the books you want, but the only way to get rolling is to start coding full time in the language you want to learn. If you *know* Java, you'll be fine after a week of hard work.

In my opinion, multi-platform abilities aside, C# is the better language of the two.
__________________
In Soviet Russia, Exception throws you!
Kallian is offline   Reply With Quote
Old 11-10-2007, 07:42 PM   #5 (permalink)
Fog
Registered User
 
Join Date: Feb 2006
Posts: 1,596
+2 Internets
If you ask me, the real gem of programming in C# is the .NET framework. I've never seen a more comprehensive and consistently-designed library.
Fog is offline   Reply With Quote
Old 11-11-2007, 08:12 AM   #6 (permalink)
niteflyx
Fuckin' 07er
 
niteflyx's Avatar
 
Join Date: May 2007
Location: Philly
Posts: 337
+0 Internets
If you're interested in games and want to learn C#, check out the XNA tutorial; can make games for both Windows and the 360.
__________________

Last edited by Tuco : 03-03-2008 at 04:09 AM.
niteflyx is offline   Reply With Quote
Old 11-11-2007, 08:21 AM   #7 (permalink)
x1hundredregrets
Reactor Zero
 
x1hundredregrets's Avatar
 
Join Date: Dec 2002
Posts: 296
-4 Internets
I second the XNA recommendation. If you've never programmed a game, its a good place to get started. I won a local game jam using XNA. My team was able to get a shitload done since hte framework is so lightweight.
x1hundredregrets is offline   Reply With Quote
Old 11-11-2007, 08:34 AM   #8 (permalink)
PerritoBites
Registered User
 
PerritoBites's Avatar
 
Join Date: Dec 2003
Location: PR, UY, ROC
Posts: 1,534
-4 Internets
Quote:
Originally Posted by Fog View Post
If you ask me, the real gem of programming in C# is the .NET framework. I've never seen a more comprehensive and consistently-designed library.
That is exactly what I'm going to be using it for.
__________________
AoC - Tyranny - Perrito (Alt: Henyuki)
DotA - US East - Perrito


Quote:
Originally Posted by Lumie View Post
you guys are ass holes for being complete morons
PerritoBites is online now   Reply With Quote
Old 11-22-2007, 07:16 PM   #9 (permalink)
Tripamang
Registered User
 
Join Date: Jul 2002
Posts: 1,836
+0 Internets
I find it's always easiest to learn a new language if you pick a goal to complete. Books have never done me a bit of good minus using them as references.

With java as a background though C# should be easy, hell learn C# and it probably wouldn't be much more effort to learn C++.

I do both professionally.
__________________
Black Atom - Crescent of the Red Moon - Red Moon Federation

Tripamang is online now   Reply With Quote
Old 11-23-2007, 05:13 PM   #10 (permalink)
Zippygoose
Math Enthusiast/Badass MC
 
Zippygoose's Avatar
 
Join Date: Jun 2002
Location: Seattle
Posts: 596
-1 Internets
Send a message via AIM to Zippygoose
Quote:
Originally Posted by x1hundredregrets View Post
I would recommend downloading Visual C# Express 2005. It's free, and a good environment to get started.
This. Any book you get on C# should also be written from the perspective of Visual Studio 2005.
__________________
Join the FoH stock market game

Zippygoose is offline   Reply With Quote
Old 11-24-2007, 12:28 PM   #11 (permalink)
Hachima
Registered User
 
Join Date: Oct 2004
Posts: 1,640
2008 edition is out with a 90 day trial also if you want to play with the new stuff

Visual Studio 2008 Trial Downloads
Hachima is offline   Reply With Quote
Old 12-05-2007, 04:28 PM   #12 (permalink)
Jedite
Am I pissing you off fafa?
 
Jedite's Avatar
 
Join Date: Aug 2003
Posts: 607
+0 Internets
If you know C++ you can pretty much just jump into C#. The only real HUGE difference is memory management, as in you don't have to delete whatever you create(new operator). Past that everything else is imo C++, with the added uber bonus of the .NET Framework.

Ok I am being a bit simplistic, since some of the general structure of your code changes from C++ to C#, but it is really not hard to get used to. I went from knowing C++ right into C#, and with the MSDN handy you will hardly break a sweat.
__________________
Jedite Neshtal , Paladin Vanguard(HillsBury) ,EQ2 (Faydark) Disturbed ,EQ1 Tarrew Marr (R.I.P), Hunter LOTRO
Vestal Paladin WoW(Eoner), Conqueror AOC(Zug)
Jedite is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes 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

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
uberguilds network



All times are GMT -7. The time now is 07:20 PM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6