Sunday, August 2, 2009

TO all programmers out there pls tell me the comparison of C# and Vb in their 7 attributes?

Which particular 7 attributes?

TO all programmers out there pls tell me the comparison of C# and Vb in their 7 attributes?
Interesting questions.





1.) Clarity, Simplicity and Unity





C# is clearer than VB and also simpler.





2.) Orthogonality


Means: being able to combine everything with everything. For instance, if I use generics like List%26lt;T%26gt;, then %26lt;T%26gt; could be anything. Every operation defined for Lists should work on lists of whatever type. Both languages score OK, though generics is much easier to write in C#





3.) Naturalness for the application


Some people find vb .net natural for simple forms and web sites.





4.) Support for abstraction


The concept of classes is equally well implemented in C# and vb .net.





5.) Ease of program verification








6.) Programming environment


Onve version of Visual Studio supports C#, VB .net, J#, C++ and more net languages.





7.) Probability of programs


Do you mean portability? Vb .net and C# are currently only implemented on Microsoft operating system. The Mono project is trying to implement the Net runtime on Linux, Mac operating systems. That would mean real portability.





8.) Cost of use


You can download a free version of Visual Studio Express. For serious work on complex systems you may want to buy the Professional version.


No comments:

Post a Comment