Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the skills of porting between C # and VB.NET

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

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)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report