C Sharp
C Sharp
1) C# is the native language for the .NET Common Language Runtime (CLR).
2) Garbage collection takes the burden of memory management away from the
programmer.
3) C# is type-safe, and it protects against the use of variables that have not been
initialized, unsafe casts, and other common programming errors.
4) You can compile the C# programs using the csc command which will generate an
EXE that you can execute.
5) An object is merely a collection of related information and functionality. An object
contains the data that describes the object and the operations that can be performed on
the object
6) Inheritance is the ability to inherit data and functionality from a parent object. It is an
“is-a” relationship.
7) In the .NET Common Language Runtime (CLR), all objects are inherited from the
ultimate base class named object, and there’s only single inheritance of objects (in
other words, an object can be derived from only one base class). The .NET runtime
allows multiple inheritance in the form of interfaces.
8) The programmer must decide how much of the object is visible to the user and how
much is private within the object. Details that aren’t visible to the user are said to be
encapsulated in the class. The goal when designing an object is to encapsulate as
much of the class as possible. Having more public fields often makes debugging
much tougher.
9) The System namespace contains the core classes for the runtime. This also include
nested namespaces such as Collections, Configuration, Diagnostics, Globalization,
IO, Net, Reflection, Security, ServiceProcess, Text, Threading, Runtime.
10) System.Data namespace contains the classes that support database operations.
11) System.Xml namespace contains classes to manage XML.
12) System.Drawing namespace contains classes that support GDI+, including printing
and imaging.
13) System.Web namespace contains classes for dealing with Web services and classes
for creating Web-based interfaces using ASP.NET.
14) System.Windows.Forms namespace contains classes to create rich-client interfaces.
15)