Home »

Observations between VB.NET and VC#.NET?

Question ListCategory: VB.NETObservations between VB.NET and VC#.NET?
shah_kajal184 author asked 2 years ago
1 Answers
denielshakespeare5 author answered 1 year ago

Choosing a programming language depends on your language experience and the scope of the application you are building. While small applications are often created using only one language, it is not uncommon to develop large applications using multiple languages.

For example, if you are extending an application with existing XML Web services, you might use a scripting language with little or no programming effort. For clientserver applications, you would probably choose the single language you are most comfortable with for the entire application.

For new enterprise applications, where large teams of developers create components and services for deployment across multiple remote sites, the best choice might be to use several languages depending on developer skills and longterm maintenance expectations.

The .NET Platform programming languages including Visual Basic .NET, Visual C#, and Visual C++ with managed extensions, and many other programming languages from various vendors use .NET Framework services and features through a common set of unified classes.

The .NET unified classes provide a consistent method of accessing the platform’s functionality. If you learn to use the class library, you will find that all tasks follow the same uniform architecture. You no longer need to learn and master different API architectures to write your applications.

In most situations, you can effectively use all of the Microsoft programming languages.
Nevertheless, each programming language has its relative strengths and you will want to
understand the features unique to each language. The following sections will help you choose the right programming language for your application.

Visual Basic .NET
Visual Basic .NET is the next generation of the Visual Basic language from Microsoft. With Visual Basic you can build .NET applications, including Web services and ASP.NET Web applications, quickly and easily. Applications made with Visual Basic are built on the services of the common language runtime and take advantage of the .NET Framework.

Visual Basic has many new and improved features such as inheritance, interfaces, and
overloading that make it a powerful objectoriented programming language. Other newlanguage features include free threading and structured exception handling. Visual Basic fully integrates the .NET Framework and the common language runtime, which together provide language interoperability, garbage collection, enhanced security, and improved versioning support.

A Visual Basic support single inheritance and creates Microsoft intermediate language (MSIL) as input to native code compilers.Visual Basic is comparatively easy to learn and use, and Visual Basic has become the programming language of choice for hundreds of thousands of developers over the past decade.

An understanding of Visual Basic can be leveraged in a variety of ways, such as writing macros in Visual Studio and providing programmability in applications such as Microsoft Excel, Access, and Word.

Visual Basic provides prototypes of some common project types, including:
– Windows Application.
– Class Library.
– Windows Control Library.
– ASP.NET Web Application.
– ASP.NET Web Service.
– Web Control Library.
– Console Application.
– Windows Service.
– Windows Service.

Visual C# .NET
Visual C# (pronounced C sharp) is designed to be a fast and easy way to create .NET
applications, including Web services and ASP.NET Web applications. Applications written in Visual C# are built on the services of the common language runtime and take full advantage of the .NET Framework.

C# is a simple, elegant, typesafe, objectoriented language recently developed by Microsoft for building a wide range of applications. Anyone familiar with C and similar languages will find few problems in adapting to C#.

C# is designed to bring rapid development to the C++ programmer without sacrificing the power and control that are a hallmark of C and C++. Because of this heritage, C# has a high degree of fidelity with C and C++, and developers familiar with these languages can quickly become productive in C#. C# provides intrinsic code trust mechanisms for a high level of security, garbage collection, and type safety. C# supports single inheritance and creates Microsoft intermediate language (MSIL) as input to native code compilers.

C# is fully integrated with the .NET Framework and the common language runtime, which
together provide language interoperability, garbage collection, enhanced security, and improved versioning support.

C# simplifies and modernizes some of the more complex aspects of C and C++, notably namespaces, classes, enumerations, overloading, and structured exception handling. C# also eliminates C and C++ features such as macros, multiple inheritance, and virtual base classes. For current C++ developers, C# provides a powerful, highproductivity language alternative.

Visual C# provides prototypes of some common project types, including:
– Windows Application.
– Class Library.
– Windows Control Library.
– ASP.NET Web Application.
– ASP.NET Web Service.
– Web Control Library.
– Console Application.
– Windows Service.

Please login or Register to Submit Answer