A little experience regarding "cross-language call" and "CLS (public language norm)"

xiaoxiao2021-03-06  110

A very important feature of .NET is a cross-language programming, with C # written by C # can be called in VB.NET, such as a class written by C #, compile into the DLL, then call in VB.NET:

Using

System;

Namespace

Clssample

{Public class clstest {public clstest () {} public void abc () {console.writeLine ("abc");}}}

转载请注明原文地址:https://www.9cbs.com/read-125789.html

New Post(0)