Sunday, July 12, 2009

What is .Net? Is .Net a programming language, just like the way C++ is?

If yes, then it means you have to sit down and learn the syntax?





I know C++ and Java.


Is .Net a whole new different language?

What is .Net? Is .Net a programming language, just like the way C++ is?
.Net is a lot of things. You would call the whole thing a 'platform'. The main programming language of .Net is CIL, Common Intermediate Language. All .Net programs compile to CIL, and the syntax of CIL looks a lot like assembly code. Most .Net programmers never write in CIL nor do they know the syntax. They use a language like C# or VB.Net, which is compiled to CIL. The benefit of CIL is, when the program is run, each time a function is first run, the CIL is compiled to platform specific machine code and cached for later use by the program (this cache dies when the program closes). This means that you can write a program and run it on an Intel or an AMD machine and get different machine code (optimized for the processor) and the behavior of the program is the same. It's not one programming language, but rather a platform for languages. Microsoft makes C#, VB.Net and C++/CLI but their are over 30 .Net languages in total (including Perl.Net, PHP.Net and IronPython, to name a few). Which one you want to use is your choice. If you know Java or C++ I highly recommend C#, the syntax is nearly identical. The only learning curve is learning the .Net framework, which is a set of class libraries to perform common tasks. It is quite extensive and covers nearly every low level subsystem you might implement.
Reply:.net framework is a set of classes which you can use in languages associated with this framework. IT is not a language. It is something like Bytecode in JAVA and is a virtual machine that supports different windows computers.
Reply:net is nol like c++ or java


nor any language


it is a software like thing launched by different communication stations


i think u should ask a 12th c++ teacher


she would explain u better


No comments:

Post a Comment