VB.NET vs C#

Forums C#VB.NET vs C#
Staff asked 2 months ago

Answers (1)

Add Answer
Staff answered 2 months ago

VB.NET

  • Syntax
Dim x As Integer
Public x As Integer = 10
  • Each statement does not end with a semicolon.
  • It is not a case sensitive language. For example, TheCodeHubs and thecodehubs are the same.
  • used for the development of Microsoft-based applications.
  • Variables are declared using keywords such as Private, Protected, Friend and Static, etc.
  • The object is created using New and Create Object().

C#

  • Syntax
int x;
int x = 10;
  • Each statement is terminated with a semicolon (;)
  • It is a case sensitive language. For example, TheCodeHubs and thecodehubs are different.
  • used for the development of desktop-based applications.
  • Variables are declared using declarations.
  • The object can be created using New.

Subscribe

Select Categories