Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,

I've thinking that i should learn a .NET language, but i'm divided between c# or java.
What do you recommend?

PS: I know C/C++
Posted
Comments
LanFanNinja 28-Nov-11 15:03pm    
Java = "YUCK!"; IMO
If you work primarily on Windows then .Net is definitely they way to go.
And for *NIX systems there is always Mono.

Since Java has nothing to do with .NET I would recommend C#.
 
Share this answer
 
Comments
LanFanNinja 28-Nov-11 15:01pm    
+5 :)
Richard MacCutchan 28-Nov-11 15:13pm    
Thanks, IOU!
RaviRanjanKr 28-Nov-11 15:23pm    
yeah! Java has nothing to do with .Net! My 5+
Richard MacCutchan 28-Nov-11 15:29pm    
To be fair there are probably many people who don't know that.
[no name] 28-Nov-11 20:02pm    
my 5 :D
This is up to you. I'm interested that everyone learned .NET :-), which is not exactly a language, by the way. However, I cannot recommend anything certain, without understanding your background and the goals. "I know C/C++" does not tell me much; actually, it tells me almost nothing. Your personal preferences can also play important or decisive role.

What I can really recommend: don't learn just one language and one technology. You always need some diverse experience. This is not even about concrete skills which everyone can always extend. It's about thinking. In my experience, most of the people strongly focused on some narrow field become completely incapable to understand programming and software development as such. I knew a number of people who extensively learned and practiced C++ and had trouble in understanding programming. In a way, extensive learning of some single approach somehow block people from understanding art and science of the programming in general.

—SA
 
Share this answer
 
Comments
LanFanNinja 28-Nov-11 15:00pm    
+5 very well said!
Sergey Alexandrovich Kryukov 28-Nov-11 15:10pm    
Thank you.
--SA
RaviRanjanKr 28-Nov-11 15:27pm    
Nice answer! My 5+
Sergey Alexandrovich Kryukov 28-Nov-11 19:12pm    
Thank you, Ravi.
--SA
elgaabeb 28-Nov-11 19:12pm    
The Way to think for understanding computer science to keep going ahead! 5'd.
EL GAABEB.
Personnally - C#
But then, I would say that - I use it!

There is an interesting comparison here: http://en.wikipedia.org/wiki/Comparison_of_C_Sharp_and_Java[^] If true, it shows two things that C# has and Java doesn't - properties and built in event support.

I use them both so much, I'm not sure how I would work without them...
 
Share this answer
 
Comments
LanFanNinja 28-Nov-11 15:02pm    
+5 I agree. Of all the languages I have used I will always prefer C#.
Sergey Alexandrovich Kryukov 28-Nov-11 15:11pm    
My 5.
--SA
RaviRanjanKr 28-Nov-11 15:30pm    
Nice Link, My 5+
thatraja 28-Nov-11 22:08pm    
5!
I'm in for C#; I Came frome gool old C to C++ and moved with the flow to C#. It really feels naturally and where some stuff is hard to do in C++, it's easy in C#. Take the e.g. the UdpClient, much easier to handle than the regular sockets. Note that if you like to have more control, the sockets are still available for you. This is the case with a lot of stuff, the 'general use' case has a easy API but the more complex is available.

When starting on C# i can advice you to directly take a look at the Visual Studio Async CTP. That will blow your mind.
If you combine that with the Reactive Extensions you are sold.

Life can't get any better than that.

Well, almost; having done some embedded programming in the past I got really exited from the .NET Micro framework.
Using your regular C# knowledge to operate specific hardware, just awesome!

Guess these are my two cents.

Cheers, AT
 
Share this answer
 
Comments
thatraja 28-Nov-11 22:08pm    
5!
RaviRanjanKr 29-Nov-11 3:55am    
My 5+
LanFanNinja 30-Nov-11 16:35pm    
+5
You got enough answer(s) from others but here I just want to give you a link

What is a good free site for a child to learn simple coding?[Long post][^](Contains more than couple of interesting threads which is useful for you)

BTW my call is C# because I like C#
 
Share this answer
 
learn Java too.

Java is the base for a lot of open source programming languages. It's a good investment to learn the basics and later on to be able to adapt to other languages.
 
Share this answer
 
Comments
RaviRanjanKr 29-Nov-11 3:57am    
I agree and I am big fan of java too, My 5+
i would suggest you to go for the c# because since u know c and c++, it would not be that difficult and once used to it, u will enjoy doing c#. all the best.
 
Share this answer
 
Comments
RaviRanjanKr 29-Nov-11 3:56am    
A suggestion :- please dont use Short text words like 'u' instead of using 'You'

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900