C # language

Discussion in 'Programmer's Corner' started by TAKYMOUNIR, Aug 3, 2011.

  1. TAKYMOUNIR

    Thread Starter Active Member

    Jun 23, 2008
    351
    1
    Hi right now i am learning c# but after that i will learn c and c++ so is there is big different between them
     
  2. debjit625

    Well-Known Member

    Apr 17, 2010
    790
    186
    Yes.
    C# programs target .net platform i.e.. common language runtime (CLR).C# compiler or any CLR compiler will produce an intermediate language code, in case of C# it produce MSIL(Microsoft intermediate language ),which could only be processed by some runtime like .net in case of C#,another example would be java where java compilers compile the program into an intermediate language known as byte code and it needs java runtime for execution.You can program for .net using many other compiler like VB.Net,C++.Net they all target .net runtime.I like C# for .net.

    On the other hand its C/C++ where the compilers produce codes which targets specific CPU architecture like x86,IA64,Alpha and etc.They are called native language as they are directly executed by the processor rather any runtime,so they are fast and more power full.

    And the common question,which one is the best?
    As per me both.It depends on your application.

    Its a very big topic that is slowly understood while in the process of learning.

    Good Luck
     
    TAKYMOUNIR likes this.
  3. TAKYMOUNIR

    Thread Starter Active Member

    Jun 23, 2008
    351
    1
    Thanks very much
     
Loading...