Aquilano

Welcome to Aquilano`s Blog

C# sample programs

C# allows us to write programs like Console Bases Applications as well as Windows Based Applications .The following links give you a basic idea of Console Based Application and Windows Based Application.

C# and JAVA

CSharp and JAVA are two different Object Oriented Languages , both have some similarities and differences also . The Csharp and JAVA derived from their own single ancestor Class "Object". All Classes in C# are descended from System.Object Class and in JAVA all classes are subclasses of java.lang.Object Class.
Both C# and JAVA have their own runtime environments . C# source codes are compiled to Microsoft Intermediate Language (MSIL) and during the execution time runs it with the help of runtime environments -  Common Language Runtime (CLR). Like that JAVA source codes are compiled to Java Byte Code and during the execution time runs it with the help of runtime environments - Java Virtual Machine (JVM). Both CSharp and JAVA supports native compilation via Just In Time compilers.
More over both C# and JAVA have their own Garbage Collector. In the case of keywords comparison some keywords are similar as well as some keywords are different also. The following are the examples of few similar and different keywords.
Similar Keywords examples
class , new , if , case , for , do , while , continue , int , char , double , null

C# and VB.NET

CSharp and VB.NET are the two primary languages used to program on the .NET Framework environment. Both languages are use the same framework and they both precompiled into the same byte code and then it is compiled and run at runtime. So we can say VB.NET and C# are functionally equivalent. Both C# and Visual Basic.NET share structural similarities with other modern high level languages such as Java and C++ .
But both have different in many features. Primarily keywords are different in each other language . C# is case sensitive while Visual Basic .NET is not. In VB.NET "Example" and "example" are same , but in CSHARP "Example" and "example" are two different variable names. Also it is good to remember that C# statements always terminated by a semicolon (;).
The following are some examples of differences between VB.NET and C#.

An introduction to C#

CSharp is an Object Oriented Language , introduced in the .NET Framework. C# is a professional programming language and is very similar to C++ in many ways. We can implement the Object Oriented concepts like encapsulation, inheritance, and polymorphism in C# programming development .
C# is a Simple, Powerful , general-purpose and Type-Safe language also Case Sensitive . We can develop C# projects in Visual Studio Environment , a powerful tool-rich programming environment from Microsoft. We can create console based applications as well as windows based applications from C# environment. C# Coding style is very similar to C++ and JAVA , so the developers who are familiar with those languages can pick up C# coding quickly.