Cov txheej txheem:

Kuv puas tuaj yeem siv VB thiab C# hauv tib qhov project?
Kuv puas tuaj yeem siv VB thiab C# hauv tib qhov project?

Video: Kuv puas tuaj yeem siv VB thiab C# hauv tib qhov project?

Video: Kuv puas tuaj yeem siv VB thiab C# hauv tib qhov project?
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim

Nws yog ua tau los sib tov C# thiab VB . Net hauv tib qhov project tab sis tsuas yog tias nws yog lub vev xaib- qhov project . Nquag thaum tshiab qhov project yog tsim nws yog tsim raws li ib tug C# qhov project lub as a VB . Net qhov project.

Hauv qhov no, peb puas tuaj yeem siv VB Net DLL hauv C#?

3 Teb. Piv txwv li VB . NET code yog CLS ua raws, koj ua tau tsuas ntxiv ib qho kev siv rau nws rau koj C# qhov project. Lub sijhawm no, lub npe chaw thiab txhua tus tswvcuab pej xeem hauv lub DLL yuav muaj rau koj C# code.

Tsis tas li ntawd, yog Visual Basic C#? C# yog ib hom lus dav dav thiab niaj hnub siv hom phiaj xwm (OOP) cov lus muab los ntawm Microsoft uas khiav ntawm. VB . NET yog pronounced as Visual Basic . Net thiab nws yog hom lus hais txog kev ua haujlwm uas tau siv rau ntawm. NET Framework los ntawm Microsoft.

Hais txog qhov no, kuv yuav hu li cas VB chav kawm hauv C#?

Hu rau Visual Basic Function hauv C# nplooj ntawv

  1. Kauj ruam 1: Tsim ASP. NET khoob lub vev xaib hu ua "TestApp" siv C#.
  2. Kauj ruam 2: Tsim lub Web Los ntawm kev siv C# hauv lub vev xaib hu ua "Default. aspx".
  3. Kauj ruam 3: Tsim cov ntaub ntawv hauv chav kawm hauv lub vev xaib hu ua "MyClass1. vb" siv Visual Basic.

VB Project class yog dab tsi?

Ib qho qauv Visual Basic Project . Visual Basic los yog VB yog ib qho kev tshwm sim uas tau tsav lub programming lus thiab IDE (ib puag ncig kev txhim kho) ntawm Microsoft. Graphical user interface yog siv nrog cov lus programming yooj yim; nws yog thawj cov khoom lag luam los muab qhov chaw ua haujlwm graphical rau kev tsim tus neeg siv interface.

Pom zoo: