Home | Articles|Namespace|Interview Questions|Tools|Jobs|Projects|Community
Asp.net Tutorials

»Dotnet Ads
»Message Boards
Message Boards
Dotnet Books

»Member Details
Register
Login
LogOut
Submit Code
Submit Jobs
Submit Projects

»Competition
Community
Winners
Prizes
Write For Us
Members

»Other Resources
Links
Dotnet Resources

woooooow c# is this much simple....... ?

what we have to know in c#




what a beginner of c# should get into


Program structure
Namespaces
Data types
Variables
Operators and expressions
Enumerations
Statements
Classes and structs
Modifiers
Properties
Interfaces
Function parameters
Arrays
Indexers
Boxing and unboxing
Delegates
Inheritance and polymorphism

Things which are common in C++ and C#.
Concepts like garbage collection, threading, file processing etc.
Data type conversions
Exception handling
.NET library

please put more concentration on OOPs Concepts
Please put concentration on databse connections and manipulations
please put more concentration on reusability options
please try to do one example on each concept and then try in real time

lets see some imp points while dealing with c#

Like C++, C# is case-sensitive. Semi colon (;) is the statement separator. Unlike C++, there are no separate declaration (header) and implementation (CPP) files in C#. All code (class declaration and implementation) is placed in one file with extension cs.

Every class is packaged into a namespace.

In .NET library, System is the top level namespace in which other namespaces exist.

The #include directive is replaced with using keyword, which is followed by a namespace name

All types of C# are derived from a base class object.

Values types are those data types which are allocated in stack. They include:

All basic or built-in types except strings
Structs
Enum types

Reference types are allocated on heap and are garbage collected when they are no longer being used. They are created using new operator

Reference types include:

Classes
Interfaces
Collection types like Arrays
String

Enumerations in C# are defined through a keyword enum.

Objects of classes are allocated in heap, and are created using new, where as structs are allocated in stack.

you write Get and Set methods in c3 for properties

public, private ,protected etc are access modifier

Have a Question and dont know the answer post it below and get answers in minutes

Due to spam this feature is disabled
To get answers fast , make sure you enter a detailed subject for example: "DataGrid issues need answer" not "DataGrid"

Subject:

Catjegory Name:

Message:



© 2008 dotnetwatch.com -- Privacy policy