C# Web Programming
The C# programming language is a powerful, relatively new descendant of the earlier C, C++, and Java languages.
- C# is a simple, modern, object oriented language derived from C++ and Java.
- It aims to combine the high productivity of Visual Basic and the raw power of C++.
- It is a part of Microsoft Visual Studio7.0.
- Visual studio supports Vb, VC++, C++, Vbscript, Jscript. All of these languages provide access to the Microsoft .NET platform.
- NET includes a Common Execution engine and a rich class library.
- Microsoft's JVM equiv. is Common language run time (CLR).
- CLR accommodates more than one languages such as C#, VB.NET, Jscript, ASP.NET, C++.
- Source code --->Intermediate Language code (IL) ---> (JIT Compiler) Native code.
- The classes and data types are common to all of the .NET languages.
- We may develop Console application, Windows application, and Web application using C#.
- In C# Microsoft has taken care of C++ problems such as Memory management, pointers etc.
- It supports garbage collection, automatic memory management and a lot.
MAIN FEATURES OF C# SIMPLE
- Pointers are missing in C#.
- Unsafe operations such as direct memory manipulation are not allowed.
- In C# there is no usage of "::" or "->" operators.
- Since it`s on .NET, it inherits the features of automatic memory management and garbage collection.
- Varying ranges of the primitive types like Integer, Floats etc.
- Integer values of 0 and 1 are no longer accepted as Boolean values. Boolean values are pure true or false values in C# so no more errors of "="operator and "=="operator. "==" is used for comparison operation and "=" is used for assignment operation.
C# 2.0 and 3.0 Features
It’s now possible to write and compile C# programs on a variety of Unix-based machines using either the Mono or Portable .NET implementations of .NET and C#. Both Mono and Portable .NET claim to run C# programs on Windows and a variety of Unix flavors, including Linux and Apple’s Macintosh operating system.