CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    May 2008
    Posts
    31

    [RESOLVED] C# Vs VB.net

    it's that true, that the program that creat on the C# can work on microsoft and linux and macntous and the progrma that created on the Vb.net can work only on the microsofot

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: C# Vs VB.net

    Aside from a horrible number of typos...the answer is "that depends"...

    1) C# is NOT a "Microsoft LAnguage". It is controlled by an ECMA specification, and any vendor is free to write any compliant compiler.

    2) VB.NET (actually all of VB) IS a Microsoft Language, and they have ownership.

    3) Both C# and VB.NET compile to MSIL. Other vendors have created runtimes capable of supporting MSIL (e.g. Mono)
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  3. #3
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

  4. #4
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: C# Vs VB.net

    HanneS, thanks for the links supporting point#1 of my previous post.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  5. #5
    Join Date
    May 2008
    Posts
    31

    Re: C# Vs VB.net

    Thank both of you for help!. But as I'm a newbie and myn english not very well can you be more specific about my question :
    Which one is work with ... and another not and what do you mean by MSIL?

  6. #6
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: C# Vs VB.net

    Quote Originally Posted by nader View Post
    Thank both of you for help!. But as I'm a newbie and myn english not very well can you be more specific about my question :
    Which one is work with ... and another not and what do you mean by MSIL?
    MSIL = Microsoft Intermedial Language. The output of EVERY .Net compiler. As the MSIL code is loaded it is compiled to actual Machine Code by the JIT (Just In Time) Compiler.

    Something which is targeted for and will run as a NATIVE application on any

    Something which is target as x86 will always be a 32 bit process (which CAN run on 64 bit machines)

    Something which is targeted as x64 will always be a 64 bit process (which can NOT run on a 32 bit machine).
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  7. #7
    Join Date
    May 2008
    Posts
    31

    Re: C# Vs VB.net

    I'm working on Vb2005.net.so do I have to leave it and work on C#.

  8. #8
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: C# Vs VB.net

    Quote Originally Posted by nader View Post
    I'm working on Vb2005.net.so do I have to leave it and work on C#.
    Impossible to answer....

    "I am eating a steak...do I have to leave it and eat a sandwhich"???
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  9. #9
    Join Date
    May 2008
    Posts
    31

    Re: C# Vs VB.net

    Thank you for help!

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

Featured