Introduction .net and c#
What is .NET Framework ?
A programming infrastructure created by Microsoft for building, deploying, and running applications and services that use .NET technologies, such as desktop applications and Web services.
The .NET Framework contains three major parts:
the Common Language Run time
the Framework Class Library
ASP.NET.
What is C# ?
C# is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run on the .NET Framework. You can use C# to create traditional Windows client applications, XML Web services, distributed components, client-server applications, database applications, and much, much more. Visual C# provides an advanced code editor, convenient user interface designers, integrated debugger, and many other tools to make it easier to develop applications based on version 4.0 of the C# language and version 2.0,3.5 and 4.0 etc. of the .NET Framework.
C# and .NET Programming demonstrates a very simple C# program that prints the text string "Hello World!" to the console screen and provides a line-by-line analysis of that program. However, even that simple program was complex enough that we had to skip some of the details. In this chapter, we'll begin an in-depth exploration of the syntax and structure of the C# language. The syntax of a language is the order of the keywords, where you put semicolons, and so forth. The semantics are what you are expressing in the code, and how your code fits together. Syntax is trivial and unimportant, but because compilers are absolute sticklers for correct syntax, novice programmers pay a lot of attention to syntax until they are comfortable. Fortunately, Visual Studio 2008 makes managing syntax much easier so that you can focus on semantics, which are far more important.
In this chapter, we'll introduce statements and expressions, the building blocks of any program. You'll learn about variables and constants, which let you store values for use in your program. We'll also begin an explanation of types, and we'll take a look at strings, which you saw briefly in the Hello World program. This is all very basic stuff, but it's the foundation you need to start getting fancy. Without variables, your applications can't actually process any data. All variables need types, and variables are used in expressions. You'll see how neatly this all fits together.
In Website You Learn These Topics:
1.Introduction
2.C# Language Fundamentals.
3.Class and Objects.
4.Inheritance & Polymorphism.
5.Structures,Enumeration,Garbage Collection & Nested Classes.
6.Abstract Classes & Interfaces.
7.Arrays,Collections & String Manipulation.
8.Exception Handling.
9.delegates & Events.
10.WinForms & Windows Applications.
11.More Windows Controls & Standard Dialog Boxes.
12.Data Access Using ADO.Net.
13.Multithreading.
14.The File System & Streams.
15.New Features In c# 3.5.
16.The Road Ahead.