Tuesday, July 16, 2013

Learn C# programming language : Lesson 001 Introduction

Introduction to the C# language and .Net Framework

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 crate traditional windows client applications, XML web services , distributed components, client-server applications, database applications, and integrated debugger, and many other tools to make it easier to develop applications based on version 4.0 of the C#  language and version 4.0 of the .NET framework.

C# language

C# syntax is highly expressive , yet it is also simple and easy to learn. The curly- brace syntax of C# will be instantly recognizable to anyone familiar with C, C++ or java. Developers who know any of these languages are typical bale to begin t work productively in C# within a very short time C# syntax simplifies many of the complexities of C++ and provides powerful features such an null-able value types, enumerations, delegates lamda expressions and direct memory access, which are not found in java. C# supports generic methods and types which provide increased type safety and performance and iterators, which enables implementer of collection classes to define custom iteration behavior that are simple to use by client code. Language Integrated Query (LINQ) expressions make the strongly typed query a first class language construct.

An Object Oriented language C# supports the concepts of encapsulation, inheritance and polymorphic, All variables and methods, including the Main method , the application's entry point , are encapsulated within class definitions, A class may inherit directly from one parent class, but it may implement any number of interface methods that override virtual methods in a parent class require the override keyword as a way to avoid accidental redefinition . 

There are no header files, and no requirement that methods and types be declared in a particular order. A C# file may define any number of classes, structs , interfaces , and events.

C#.net having code Best Security Because
  1. it is case sensitive
  2. Every statement ends with terminator i.e. semicolon(;)
  3. Every Block quoted by curly Braces ({})
  4. It is purely Maintain type Conversion.

No comments:

Post a Comment