Wednesday, 25 May 2016

C# Vs Visual Basic

C# vs VB

What is C#?

  • C#  is an object-oriented programming language from Microsoft.
  • Combines the computing power of C++ and features similar to those of JAVA.
  • Designed to work with the Microsoft .Net platform.Supports the concepts of encapsulation, inheritance, and polymorphism.
  • Can be used to write any number of applications, including both web sites and Windows applications.
  • Simplifies programming through its use of Extensible Markup Language (XML) and Simple Object Access Protocol (SOAP).
  • It is a Case-sensitive language.

What is VB(Visual Basic)?

  •  VB is a programming environment from Microsoft in which a programmer uses a graphical user interface (GUI) to choose and modify preselected sections of code written in the BASIC programming language.
  •   "Visual" refers to the method used to create what the user sees the graphical user interface, or GUI.
  • "Basic" refers to the BASIC (Beginners All-Purpose Symbolic Instruction Code) programming language, a language used by more programmers than any other language.    
  • Visual Basic also provides a unique and complete software architecture.    
  • "Architecture" is the way computer programs, such as Windows and VB programs, work together.      
  • One of the major reasons why Visual Basic has been so successful is that it includes everything that is necessary to write programs for Windows.     
  • It is also called an event-driven language because each object can react to different events such as a mouse-click   
  • VB is not case-sensitive language.

   Differences between C# and VB

  • Both are first-class programming languages that are based on the Microsoft .NET Framework, and they are equally powerful.  
  • Visual Basic .NET is a true object-oriented programming language that includes new and improved features such as inheritance, polymorphism, interfaces, and overloading.   
  • Both Visual Basic .NET and Visual C# .NET use the common language runtime.    However, the .NET Framework is intended to be language independent.   
  • When you must select between Visual Basic .NET and Visual C# .NET, decide primarily based on what you already know and what you are comfortable with.     
  • It is easier for Visual Basic 6.0 developers to use Visual Basic .NET and for C++/Java programmers to use Visual C# .NET








No comments:

Post a Comment