Export (0) Print Expand All 4 out of 5 rated this helpful - Rate
this topic  Cross-Language Interoperability  Language
independence has a number of possible meanings. One meaning,
which is discussed in the article Language Independence and
Language-Independent Components, involves seamlessly consuming
types written in one language from an app written in another
language. A second meaning, which is the focus of this article,
involves combining code written in multiple languages into a
single .NET Framework assembly.  The following example
illustrates cross-language interoperability by creating a class
library named Utilities.dll that includes two classes,
NumericLib and StringLib. The NumericLib class is written in C#,
and the StringLib class is written in Visual Basic. Here's the
source code for StringUtil.vb, which includes a single member,
ToTitleCase, in its StringLib class.  Imports
System.Collections.Generic Imports
System.Runtime.CompilerServices  Public Module StringLib
Private exclusions As List(Of