2. • First , Let’s Talk About History of it
During the development of the .NET Framework,
the class libraries were originally written using
a managed code compiler system called Simple
Managed C (SMC). In January 1999, Anders
Hejlsberg formed a team to build a new language at the
time called Cool, which stood for "C-like Object Oriented
Language". Microsoft had considered keeping the name
"Cool" as the final name of the language, but chose not
to do so for trademark reasons. By the time the .NET
project was publicly announced at the July
2000 Professional Developers Conference, the language
had been renamed C#, and the class libraries
and ASP.NET runtime had been ported to C#.
3. • Pronounced "see-sharp." A hybrid of C and C++, it is
a Microsoft programming language developed to
compete with Sun's Java language. C# is an object-
oriented programming language used with XML-
based Web services on the .NET platform and designed
for improving productivity in the development of Web
applications. C# boasts type-safety, garbage collection,
simplified type declarations, versioning and scalability
support, and other features that make developing
solutions faster and easier, especially for COM+ and Web
services. Microsoft critics have pointed to the similarities
between C# and Java.
4. • Some applications of c# in real life there are a lot but I’ll talk about some only of
them
• Desktop applications. You can create a decent Forms based (or WPF based)
GUI app fairly quickly in C#.
• Windows service. GUI-less code that runs as a service that gets stuff as input,
converts stuff and outputs stuff. I've written a zillion of those, for all sorts of
different 'stuff'.
• Web site code behind. I like the ASP.NET model for writing web pages. Much
cleaner than PHP or JSP, IMHO.
• Web services. Exposing a web service API using C# is straight forward. And
web services are a convenient way to communicate between different processes,
especially if they are running on different machines/operating systems.
• Data access layer. C# is a good language for providing the 'shim' between
application code and the database.