0% found this document useful (0 votes)
51 views2 pages

C# Description (Ahsan Ashraf) : Using Public Class

C# is a hybrid programming language developed by Microsoft to compete with Java. It is an object-oriented language used to build web applications on the .NET platform. C# aims to simplify programming through features like garbage collection and support for web services. It is designed to work with Microsoft's .NET framework and facilitate information exchange over the web. C# has gained popularity due to its modern features and ability to produce efficient, cross-platform programs.

Uploaded by

Rory Conway
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views2 pages

C# Description (Ahsan Ashraf) : Using Public Class

C# is a hybrid programming language developed by Microsoft to compete with Java. It is an object-oriented language used to build web applications on the .NET platform. C# aims to simplify programming through features like garbage collection and support for web services. It is designed to work with Microsoft's .NET framework and facilitate information exchange over the web. C# has gained popularity due to its modern features and ability to produce efficient, cross-platform programs.

Uploaded by

Rory Conway
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

C# Description (Ahsan Ashraf)

C# is a hybrid of C and C++, it is a Microsoft programming language developed to compete with


Sun's Java language. C# is an object-oriented programming language used with XML-based Web
services on the .NET platform and designed for improving productivity in the development of
Web applications.
C# boasts type-safety, garbage collection, simplified type declarations, versioning and scalability
support, and other features that make developing solutions faster and easier, especially for
COM+ and Web services. Microsoft critics have pointed to the similarities between C# and Java.
C# is designed to work with Microsoft's .Net platform. Microsoft's aim is to facilitate the
exchange of information and services over the Web, and to enable developers to build highly
portable applications. C# simplifies programming through its use of Extensible Markup
Language (XML) and Simple Object Access Protocol (SOAP) which allow access to a
programming object or method without requiring the programmer to write additional code for
each step. Because programmers can build on existing code, rather than repeatedly duplicating
it, C# is expected to make it faster and less expensive to get new products and services to
market.
Microsoft is collaborating with ECMA, the international standards body, to create a standard for
C#. International Standards Organization (ISO) recognition for C# would encourage other
companies to develop their own versions of the language. Companies that are already using C#
include Apex Software, Bunka Orient, Component Source, devSoft, FarPoint Technologies, LEAD
Technologies, ProtoView, and Seagate Software.

The following reasons make C# a widely used professional language −

 It is a modern, general-purpose programming language


 It is object oriented.
 It is component oriented.
 It is easy to learn.
 It is a structured language.
 It produces efficient programs.
 It can be compiled on a variety of computer platforms.
 It is a part of .Net Framework.
Program example:

1. using System;  
2.   public class ReverseExample  
3.    {  
4.      public static void Main(string[] args)  
5.       {  
6.        int  n, reverse=0, rem;           
7.        Console.Write("Enter a number: ");      
8.        n= int.Parse(Console.ReadLine());     
9.        while(n!=0)      
10.        {      
11.         rem=n%10;        
12.         reverse=reverse*10+rem;      
13.         n/=10;      
14.        }      
15.        Console.Write("Reversed Number: "+reverse);       
16.     }  
17.   }  

You might also like