What are the skills of porting between C # and VB.NET
This article mainly introduces "what are the skills of transplanting between C# and VB.NET". In the daily operation, I believe that many people have doubts about the skills of transplanting between C# and VB.NET. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "what are the skills of transplanting between C# and VB.NET?" Next, please follow the editor to study!
A neologism as simple as VB and as powerful as C++
C # is a component-oriented language for streaming by Turbo Pascal, Delphi, and Visual Junction + designer Anders Hejlsberg for three years to design all the language elements are real object development strong and reusable software all. The base class library (Base Class Library) in NET Framework is written by C #
2. VB.NET-- is a completely object-oriented basic language.
1. New language features
Fully object-oriented-inheritance (Inheritance), overloading (overloading), shared members, structured exception handling strong language-strict type checking, initialization when variables are declared, support for garbage collection (Garbage collection) powerful-support for delegates (Delegates), free threading,Variant data types are replaced by Object
two。 Syntax consistent with VB6
Third, what is the difference between C# and VB.NET?
1. Grammatical differences, such as the way a loop is written
VB.NET
For I = 1 To 10 'for loop Next I
C#
For (iTunes 1)