ravi gunti

Can i know the major advantages of C# language


Re: Visual C# Language what is the main advantages in C# with compare to other than microsoft languages like Java

ravi gunti

i can give my self one example

1. supports networking






Re: Visual C# Language what is the main advantages in C# with compare to other than microsoft languages like Java

Jeris

C# is just a language targeting CLR. thus,I think the advantages mainly result from .net framework.

I have little knowledge of Java, but compared with C++. C# has the following features:

1. C# is pure object-oriented,but C++ is a mixture of object-oriented and procedure-oriented.

2. C# is more type safe

3. you need not put much attention on such problems as memory leak, which is troubling problem for C++ programmer.

4. The Assembly concept solves the versioning control problem well.

5.Ease-to-development, The rich class library makes many functions easy to be implemented.

6.Cross-platform. you application will run well only if the machine installed the .NET framework.

7.Good support for distributed system.

There are much more features, you can experience during development. However, each language has its advantage, you can select language depending on you application.





Re: Visual C# Language what is the main advantages in C# with compare to other than microsoft languages like Java

Nimrand

If I understand you, you are asking for the advantages of C# over non-Microsoft languages like Java. The follow are my observations, so take them for what they're worth.

The main advantage of C# is that it runs on the CLR, making it easy to integrate with components written in other languages (specifically, CLR-compatible languages) and many of Microsoft's proprietary technologies. Also note that much of .NET has been standardized, which means that it could run on other platforms (google the mono project for more info), but this isn't well-supported.

Writing in C# also gives one access to all the .NET Framework class libraries, which are quite extensive. While these libraries might support specific features better than in Java (WPF is arguably better suited for rich multimedia GUIs than java.swing), on the whole Java SDK's feature set if very similar to the .NET Framework and one can't say one is better than the other in general.

C# has many language constructs that java lacks, such as delegates (function pointers) and operator overloading. However, Java has its own way of solving the same kinds of problems that these feature address, and while the subject is often hotly debated, there is really no way to objectively determine which approach is "better." However, I think most would agree that C#'s support for generics is more robust than Java's. On the other hand, Java's enums are far more robust than C#'s.

C# 3.0 will bring a lot of new language features, including extension methods, lamda expressions, and query expressions. For me, this is a big win for C#.

Also, I think the designers of the .NET Framework and C# did a good job thinking about the developer's needs. The tool support for .NET is overall very good, and it is obvious from the design of the libraries that the designer's spent a lot of time thinking about the learning curve and ease-of-use from the developer's standpoint.

That said, I've developed in Java, and it has its own advantages. A lot of it comes down to your particular circumstances and personal preferences.





Re: Visual C# Language what is the main advantages in C# with compare to other than microsoft languages like Java

Rudedog2

Unlike Visual Basic, learning C# would be like learning 3 languages at once. The syntax in C# is very similar---in most cases identical---to the syntax in J# and ASP.net. Visual Basic cannot make that claim. The best answer to your questions is what do want to do with what you learn. Visual Basic has advantages over C#. (Can't list them here. That would be like rooting for the visiting team at the home team's stadium.) C# has more advantages of VB than vice versa.

Rudedog =8^D






Re: Visual C# Language what is the main advantages in C# with compare to other than microsoft languages like Java

misbah mohd

c# support unsafe code





Re: Visual C# Language what is the main advantages in C# with compare to other than microsoft languages like Java

misbah mohd

c# is it will support cal back using delegate

\





Re: Visual C# Language what is the main advantages in C# with compare to other than microsoft languages like Java

misbah mohd