Results 1 to 5 of 5

Thread: C# or VB.net

  1. #1

    Thread Starter
    Frenzied Member yrwyddfa's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    1,253

    C# or VB.net

    Not meant to ignite a language war, so if mods can remove such posts - please, it's meant as a fairly constructive discussion on the merits of one, the other, or both.

    Discuss:
    "As far as the laws of mathematics refer to reality, they are not certain; and as far as they are certain, they do not refer to reality." - Albert Einstein

    It's turtles! And it's all the way down

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: C# or VB.net

    Use both as the framework is common. If you know one the other is not very hard to pickup. You use the right tool for each and every job.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: C# or VB.net

    If you are coming from a VB 6 ground then I would suggest learning C# first and then turning on to VB.NET. This is just because when you move over to .NET and you are still using VB then you tend to do things in the same way as we used to do in VB 6, which is not good. We tend to forget that there are so many functionalities added to .NET. So if you learn C# (as it is a new language) you will also lern how to take advantage of what .NET Framwework has in store for us.

    To me both C# and VB.NET are same because both of them target same Base Class Libraries. It is just the matter of expertise that you have. Some people will prefer working in VB.NET and some in C# but mostly the underlying MSIL is same. There is nothing that cannot be done in VB and can be done only in C# as far as I know.

    Also with .NET 2.0 VB has become CLS Compliant so the advantage of C# being CLS compliant in 1.1 environment has also been taken care of in .NET 2.0.

    To me whether you code in C# or VB.NET you are still a .NET programmer and can easily move to the other .NET language with ease.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  4. #4
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    Re: C# or VB.net

    It's easier to learn VB.NET if you are familiar with VB6 and it's easier to learn VC# if you are familiar with java and C++.
    It really depends on you. and just like Shuja Ali said "You are a .NET programmer" anyway so it doesn't really matter.
    I'm not sure about the differences between the languages in .NET2 - I guess C# will always have the unmanaged code advantage (not recommended to use) - but it'd be the best if you learn both, since you can use all .net languages in a single solution
    "I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
    My Blog

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: C# or VB.net

    Both. My path: VB6 -> VB.NET -> C#

    And you might as well get ASP.NET under your belt if you have that option. It's the future of development.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width