|
|
You can build web applications that utilize the full power of ASP.NET using either VB.NET or C#. However, they are different syntactically. For example, the following lines contain a comment, declare a variable, and assign it a value in VB.NET:
' myName is a String to hold a name Dim myName As String myName = "Bryan"
This line declares the same variable in C#:
// myName is a String to hold a name String myName; myName = "Bryan";
Most developers choose VB.NET because of their familiarity with Visual Basic, VBScript used in traditional ASP, and Microsoft VBScript for Applications. VB.NET is a quick-to-learn, powerful language that can make the transition from traditional ASP to ASP.NET painless. C# is a new programming language based on the powerful C and C++ programming languages. If you are familiar with C, C++, or Java, C# will be a comfortable fit.
|
|