C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Articles » .NET Framework »

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


Posted Date: 02 Jul 2007    Resource Type: Articles    Category: .NET Framework
Author: ChandraShekar ThotaMember Level: Diamond    
Rating: 1 out of 5Points: 10



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 modifiers

you use this sealed keyword for the classes which you don't want to be inherited from.

An interface is the abstract base class containing only the function signatures whose implementation is provided by the child class.

Arrays are allocated in heap and thus are reference types.

Indexer is used to write a method to access an element from a collection, by straight way of using [], like an array.

packing of basic or primitive type into an object is called boxing, whereas the reverse of this known as unboxing.





Please be perfect in all point as a part of coding aswell if u do so no one can beat u friends






Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Assemblies Making easy to understand
Previous Resource: About SqlHelper Class
Return to Discussion Resource Index
Post New Resource
Category: .NET Framework


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use