How do you ensure the assembly created in c# is
interoperable with vb.net?
Answer Posted / sreekanth m
use the below keyword. If the code is not CLS compliant, it
will throw compilation error.
// Tell compiler to check for CLS Compliance
[assembly:CLSCompliant(true)]
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is signature c#?
Give examples for value types?
Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?
What is difference between out and ref in c#?
What is Satellite Assemblies ?
Is string null or empty?
What is deferred execution?
What is the main usage of keyword “virtual†? How does it work for a method or property?
Difference between debug.write and trace.write?
Can you inherit from multiple classes in c#?
If you donot specify an access modifier for a method, what is the default access modifier?
Explain the types of comments in c#?
What is string literal in c#?
What is a method c#?
Is c and c# the same?