I agree with Alan.

When using VB.NET you still tent to think in terms of "Basic" as opposed to 
using all the oops features that seem to come naturally within C#.

The one thing you will miss in C# is the "with .....endwith" structure and 
initially you will look at the repeated long winded code identifying the 
"variable" as being inelegant. There are various ways around this, but no 
complete solution such as:
1. redefining the control/variable

var MyVar = FDooApp.FooElement.Foo
Myvar.Name="Fred";
Myvar.Address="High Street"
....
etc

or in C# 3.0 you can use a constructor to initialise properties etc.

Dave

-----Original Message-----
From: profox-boun...@leafe.com [mailto:profox-boun...@leafe.com] On Behalf Of 
Alan Bourke
Sent: 08 May 2012 14:48
To: profox@leafe.com
Subject: Re: Started learning C# today



On Tue, May 8, 2012, at 07:37 AM, Lou Syracuse wrote:
>  After doing VB.Net for 5 years and am moving to C# too as it seems to 
> be more widely used.  Just take a look at the online job listings...
> 

These days I would advise anyone not to bother with VB.Net, IMO.

Shaun 'DotNetNuke' Walker sums it up fairly well: 

http://www.dotnetnuke.com/Resources/Blogs/EntryId/2978/DotNetNuke-Switches-to-C.aspx

-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm


[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/bd031ecabf2b60499200aab3dbb4a999f11e0...@ex-a-fpl.fpl.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to