.Net Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - More.Net Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 3rd, 2012, 12:23 AM
NexoCEO NexoCEO is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 5 NexoCEO User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 8 sec
Reputation Power: 0
I think C# is my Language of Choice

For about the last 6 months, I have really dived into programming. Before that, I had a VERY BRIEF understanding of Visual Basic. I worked on VB6 for a while, and then VB.NET. Soon after, I came across C#, which I had heard to be much more powerful and sophisticated than BASIC languages. I found this to be very true. I learned a lot about C# through video tutorials, and my programming enthusiasm faded out for a few weeks, but then I started working with PHP, learning all of the basics. Then I learned the basics of ColdFusion, and finally got a very good understanding of the Java language (which my C# experience made it much easier to learn Java). I then tried to learn some basics of C++, and realized that it was very tedious. I learned a little Python, but have fully returned to C#, and I am pretty sure it is my favorite. I like the style of programming in C#.

Anyways, I am really trying to get to the next step of knowing some C#. I am reading heavily out of the "C# 4.0 In a Nutshell" book from O'Reily and it is teaching me quite a bit. I am sure I will be here to ask some questions soon when I hit a roadblock or need a problem solved.

Reply With Quote
  #2  
Old April 3rd, 2012, 07:02 PM
f'lar's Avatar
f'lar f'lar is offline
ASP.Net MVP
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Aug 2003
Location: WI
Posts: 4,378 f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 2 Days 11 h 4 m 57 sec
Reputation Power: 1509
Send a message via Google Talk to f'lar
Right now the only edge c# has over visual basic is iterator blocks, and even that's disappearing with the next release of visual studio, probably before the end of the year. VB.Net also has xml literals, which c# lacks. In nearly every other way the languages are just two sides of the same coin, and they both compile down to the same IL code in the end using the same .Net framework apis.

But you could do worse than c# (php comes to mind). If you want a good book, I recommend C# in Depth by Jon Skeet.
__________________
Primary Forum: .Net Development
Holy cow, I'm now an ASP.Net MVP!

[Moving to ASP.Net] | [.Net Dos and Don't for VB6 Programmers]

http://twitter.com/jcoehoorn

Reply With Quote
  #3  
Old April 3rd, 2012, 07:53 PM
MrFujin's Avatar
MrFujin MrFujin is offline
Lord of the Dance
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Oct 2003
Posts: 3,130 MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level)MrFujin User rank is General 11st Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 23 h 46 m 38 sec
Reputation Power: 1736
Quote:
Originally Posted by f'lar
But you could do worse than c# (php comes to mind).


Just curious about what is wrong with PHP?
(Besides it is more targeted to web-programming compared to .NET that can be used for application as well)

Reply With Quote
  #4  
Old April 4th, 2012, 10:33 AM
Ronster Ronster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Charlotte
Posts: 412 Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 2 h 6 m 13 sec
Reputation Power: 143
I prefer C# as my chosen language as well.

But f'lar is correct in saying that C# is not "better" than VB.NET. They are equivalent.

To me, VB.NET just brings back the bad memories of VB from the mid 90's that I despised, but that is a mental block that *I* have, not a true fault of the language. Especially for new developers, VB.NET might be easier to learn.

At least in the Charlotte region, C# is the preferred PROFESSIONAL language, meaning that you will see .NET C# listed way more than you will VB.NET. We used C# exclusively both at my previous job as well as my currrent employer.

But... if you can code in one, you should be able to code in the other... just may have to Google syntax differences. Properties and methods are all the same for the various classes. There are web sites that will convert C# code into VB.NET code, although I've not seen any that does the reverse.

Reply With Quote
  #5  
Old April 6th, 2012, 08:06 PM
f'lar's Avatar
f'lar f'lar is offline
ASP.Net MVP
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Aug 2003
Location: WI
Posts: 4,378 f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 2 Days 11 h 4 m 57 sec
Reputation Power: 1509
Send a message via Google Talk to f'lar
@Mr Fujin - I actually don't mind php as a language, but as a platform (including api, docs, support, direction, etc), it's a real mess.

Reply With Quote
  #6  
Old April 11th, 2012, 08:05 AM
Darknite Darknite is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: London
Posts: 40 Darknite User rank is Sergeant (500 - 2000 Reputation Level)Darknite User rank is Sergeant (500 - 2000 Reputation Level)Darknite User rank is Sergeant (500 - 2000 Reputation Level)Darknite User rank is Sergeant (500 - 2000 Reputation Level)Darknite User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 10 h 51 m 51 sec
Reputation Power: 14
Hello Fellow users,

I'm a polygot programmer, as such I'm fluent in both vb.net and c#.net

As f'lar has pointed out, there really are not much difference between the languages. They are part of the .NET ecosystem.

Ultimately all .NET languages target the same MSIL and all boil down to the same CLR byte code.

Yes, its OK to have a preference.

Having said all this, C# does have some benefits in the sense that it is part of the "C style family". Which means when it comes to learning other languages you will already have a head start.

Anyway once you have learned a few languages, its all pretty trivial. You should focus on the "Art of Programming" more than simply the language.

Reply With Quote
  #7  
Old April 11th, 2012, 08:23 AM
MBirchmeier's Avatar
MBirchmeier MBirchmeier is offline
I <3 ASCII
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Posts: 2,395 MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 2 Days 18 h 33 m 9 sec
Reputation Power: 1231
Send a message via AIM to MBirchmeier
Quote:
Originally Posted by Ronster
But f'lar is correct in saying that C# is not "better" than VB.NET. They are equivalent.


Having used C# for quite a while, and VB.NET for the last year, I contend this is not quite true. It's not as bad as most people think (because VB6 tainted opinions), but honestly if you're choosing between the two for learning purposes choose C#.

VB.NET has Xml Literals, but C# has iterators, a truer inheritance model, better reflection, a different definition for null, and better IDE support (better regions, better snippet support).

I know this is a small list, and most of the differences can negated with proper design (or minor refactors). When maintaining code, or working plugging into a dll or api, a redesign isn't always possible, and these factors can cause additional issues.

-MBirchmeier
__________________
My fiancee's transition from accountant to writer
0x4279 7465 204D 6521

Reply With Quote
  #8  
Old April 11th, 2012, 09:05 AM
Ronster Ronster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Charlotte
Posts: 412 Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 2 h 6 m 13 sec
Reputation Power: 143
Quote:
Originally Posted by MBirchmeier
Having used C# for quite a while, and VB.NET for the last year, I contend this is not quite true. It's not as bad as most people think (because VB6 tainted opinions), but honestly if you're choosing between the two for learning purposes choose C#.

VB.NET has Xml Literals, but C# has iterators, a truer inheritance model, better reflection, a different definition for null, and better IDE support (better regions, better snippet support).

I know this is a small list, and most of the differences can negated with proper design (or minor refactors). When maintaining code, or working plugging into a dll or api, a redesign isn't always possible, and these factors can cause additional issues.

-MBirchmeier


Hey, I'm with you 100%. I used K&R C professionally for probably 15 years. I learned C++ late in that period (via night classes) but never used it professionally. I loathed C++.

C# takes all the object oriented stuff of C++ but makes it more natural. When I first looked at C# 6 years ago, I was immediately comfortable with it.

I had to do a small VB.NET project at my last company... pure torture.

I was using the "equivalent" statement primarily that they both boil down to the same MSIL. And because some people seem to truly think VB.NET is closer to VB6 than C#.NET.

But if I have any control over it... no more VB.NET for me.

Reply With Quote
  #9  
Old April 11th, 2012, 09:31 PM
f'lar's Avatar
f'lar f'lar is offline
ASP.Net MVP
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Aug 2003
Location: WI
Posts: 4,378 f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level)f'lar User rank is General 8th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 2 Days 11 h 4 m 57 sec
Reputation Power: 1509
Send a message via Google Talk to f'lar
VB.Net will have iterators in the next release. You can play with them now with an msdn subscription. I'd argue it has better ide support in many ways, and it's the same inheritance model (they're the same types in bcl, using the same inheritance tree) and equivalent reflection support.

Reply With Quote
  #10  
Old April 12th, 2012, 07:59 AM
MBirchmeier's Avatar
MBirchmeier MBirchmeier is offline
I <3 ASCII
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Aug 2003
Posts: 2,395 MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level)MBirchmeier User rank is General 4th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 2 Days 18 h 33 m 9 sec
Reputation Power: 1231
Send a message via AIM to MBirchmeier
Quote:
Originally Posted by f'lar
VB.Net will have iterators in the next release. You can play with them now with an msdn subscription. I'd argue it has better ide support in many ways, and it's the same inheritance model (they're the same types in bcl, using the same inheritance tree) and equivalent reflection support.


Glad to hear they'll be having iterators that's probably half of my issue with VB.NET.

The inheritance and reflection issues really seem to come in when using interfaces. Since in VB you can have the interface properties be different from the actual property reflection gets thrown off.

Additionally on an interface if you're returning 'shape' one must return a 'shape' you can't return a class that extends 'shape' like you can in C#.

-MBirchmeier

Reply With Quote
  #11  
Old May 26th, 2012, 01:52 AM
aa.web.dev aa.web.dev is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2012
Posts: 9 aa.web.dev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 18 m 51 sec
Reputation Power: 0
Smile I think C# is my Language of Choice

hey

C# is the preferred and best language.

for new users, VB.NET is more useful and easy to run as they are equivalent



Reply With Quote
  #12  
Old June 8th, 2012, 12:29 AM
amanpreetbedi amanpreetbedi is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Posts: 5 amanpreetbedi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 27 m 22 sec
Reputation Power: 0
I also like C# language the most.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - More.Net Development > I think C# is my Language of Choice

Developer Shed Advertisers and Affiliates



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 Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap