Sunday Feb 05
Move
Display 0 | 5 | 10 | 15 Stories

Programming

Topics
Top Story

Code for Writing a xlsx file in java

Here is a small code to write xlsx file though java code.    You may need to include some of...

Code for Reading a xlsx file in java

Here is a small code to read xlsx file thoug java code.    You may need to include some of the...

How to read and write data from socket in java

   ServerSocket serverSocket=new ServerSocket(port);  // The below statement will wait for the...

Producer Consumer Problem in C using Semaphores and Shared Memory

  The classic bounded-buffer problem can be implemented using a variety of synchronization mechanisms....

Common Intermediate Language

Common Intermediate Language (formerly called Microsoft Intermediate Language or MSIL) is the lowest-level...

Common Type System in C#

Common Language Runtime

A Quick Introduction to C# Features

Code for updating database using hibernate framework in java

Conversion of int to byte and vice versa

Web Crawler in Python

Neural Network in Python

Programming

A Quick Introduction to C# Features

(0 votes, average: 0 out of 5)





 

C# (pronounced C Sharp) is a multi-paradigm programming language that encompasses functional, imperative, generic, object-oriented (class-based), and component-oriented programming disciplines and was developed by Microsoft as part of the .NET initiative.

C# is intended to be a simple, modern, general-purpose, object-oriented programming language. Its development team is led by Anders Hejlsberg, the designer of Borland's Object Pascal language. It has an object-oriented syntax based on C++ and is heavily influenced by Java. It was initially named Cool, which stood for "C-like Object Oriented Language."

The most prominent & distinguishing features of C# have been listed below :

  • A C# compiler usually targets a Common Language Runtime (CLR).However, the language specification does not state the code generation requirements of the compiler :that is, a C# compiler can very well generate machine code as well.
  • C# follows a unified type system called the Common Type System (CTS).A unified type system implies that all types, including primitives such as integers, are subclasses of the System.Object class.
  • There are no Global variables or methods, instead all variables and methods muct be declared within a Class.
  • Unlike C and C++, Local variables cannot shadow variables of the enclosing block.
  • Also unlike C & C++, C# supports a strict Boolean datatype, bool - which cannot be typecasted to and from other data types like int.
  • In C#, memory address pointers can only be used within blocks specifically marked as unsafe, and programs with unsafe code need appropriate permissions to run.However, pointers can be stored and manipulated by the System.IntPtr type.
  • Managed memory cannot be explicitly freed, but is automatically garbage collected.
  • Like Java, multiple inheritance is not supported, although a class can implement any number of interfaces.
  • Only safe implicit conversions are performed by default, making C# more typesafe than C++.
  • Enumeration members are placed in their own scope.

These are the prime distinguishing features of C#, compared to C or C++.


Add this page to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Google! Live! Facebook! Slashdot! Technorati! StumbleUpon! Spurl! Furl! Yahoo! Squidoo! Ask! DZone! Free Joomla PHP extensions, software, information and tutorials.



Comments

avatar Tammie26WOODARD
0
 
 
If you are in a not good position and have no cash to go out from that point, you will need to receive the credit loans. Because it should aid you for sure. I take auto loan every single year and feel fine because of this.
B
i
u
Quote
Code
List
List item
URL
Name *
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment
Cancel
B
i
u
Quote
Code
List
List item
URL
Name *
Code   
ChronoComments by Joomla Professional Solutions
Submit Comment

Tag Cloud

Login Form