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


Please Help Members By Posting Answers For Below Questions

What happens when thread sleep () method is called?

576


How main method is called in c#?

594


What is the difference between a function and a method?

577


What is the importance of closing an ado.net application?

548


Are enums static c#?

580






What is desktop example?

587


Can I call a virtual method from a constructor/destructor?

556


What is default constructor c#?

608


Can I use exceptions in c#?

634


What are primitive data types in c#?

602


What are satellite assemblies? How will you get the different language strings?

579


What is a value type in c#?

588


Can the accessibility of a type member be greater than the accessibility of its containing type?

653


What is datetime parse in c#?

598


How do you prevent a method from being overridden in c#?

555