VB.NET vs C#
Answers (1)
Add AnswerVB.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.