Leaders Please help me a bit on C# basics.
Basics of C#
I have just joined a multi national company as a .Net Developer.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Baimey RajeshRank #1,338 · 1.3K reputationPosted Feb 3, 2010, 6:05 PM EST
Briefly on Concepts:
Objects
Objects are the basic run-time entities in an object-oriented system. Programming problem is analyzed in terms of objects and nature of communication between them. When a program is executed, objects interact with each other by sending messages. Different objects can also interact with each other without knowing the details of their data or code.
Classes
A class is a collection of objects of similar type. Once a class is defined, any number of objects can be created which belong to that class.
Data abstraction and Encapsulation
Abstraction refers to the act of representing essential features without including the background details or explanations. Classes use the concept of abstraction and are defined as a list of abstract attributes.
Storing data and functions in a single unit (class) is encapsulation. Data cannot be accessible to the outside world and only those functions which are stored in the class can access it.
Inheritance
Inheritance is the process by which objects can acquire the properties of objects of other class. In OOP, inheritance provides reusability, like, adding additional features to an existing class without modifying it. This is achieved by deriving a new class from the existing one. The new class will have combined features of both the classes.
Polymorphism
Polymorphism means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends on the data types used in the operation. Polymorphism is extensively used in implementing Inheritance.
Advantages of OOP
Object-Oriented Programming has the following advantages over conventional approaches:
Baimey RajeshRank #1,338 · 1.3K reputationPosted Feb 3, 2010, 5:58 PM EST
http://www.c-sharpcorner.com/UploadFile/Kaushiks/IntroCSharp11142005080059AM/IntroCSharp.aspx
Or OOPs concept?
Rosily8 reputationPosted Feb 3, 2010, 6:01 PM EST
Baimey RajeshRank #1,338 · 1.3K reputationPosted Feb 3, 2010, 6:07 PM EST
this also will help.
There is part 2 as well
Have a better surf in net that will really help....
Rosily8 reputationPosted Feb 3, 2010, 6:08 PM EST