Click to See Complete Forum and Search --> : [RESOLVED] C# Vs VB.net


nader
November 14th, 2008, 10:14 AM
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

TheCPUWizard
November 14th, 2008, 10:19 AM
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)

HanneSThEGreaT
November 15th, 2008, 12:56 AM
http://www.mono-project.com/

http://www.linuxdevices.com/news/NS9725385854.html

http://www.google.co.uk/search?hl=en&q=c%23+cocoa+mac&meta=

http://www.google.co.uk/search?hl=en&q=vb.net+cocoa+mac&meta=

TheCPUWizard
November 15th, 2008, 10:47 AM
HanneS, thanks for the links supporting point#1 of my previous post. :wave::wave::thumb:

nader
November 15th, 2008, 03:00 PM
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?

TheCPUWizard
November 15th, 2008, 03:09 PM
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).

nader
November 15th, 2008, 03:17 PM
I'm working on Vb2005.net.so do I have to leave it and work on C#.

TheCPUWizard
November 15th, 2008, 03:32 PM
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"???

nader
November 15th, 2008, 04:56 PM
Thank you for help!