C# FAQ: How make sure CSharp classes will interoperate with other .NET languages
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
| CSharp-Online.NET:FAQs |
| edit |
[edit]
How make sure C# classes will interoperate with other .NET languages?
Ensure that the C# spplication code conforms to the Common Language Specification (CLS). To help achieve compliance, add the [assembly:CLSCompliant(true)] global attribute to all C# source files. This attribute will cause the C# compiler to throw an error if a non-CLS-compliant feature is used.