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 is bitwise operator in c#?

502


How can I process command-line arguments?

522


What does || mean in programming?

492


What is the ouput of the following program?

556


What is the name of c# compiler?

625






Can destructors have access modifiers?

558


Why do we need delegates in c#?

483


Can you inherit from a sealed class?

482


Can abstract classes be final?

492


What is difference between float and decimal?

501


Can we change static value in c#?

522


What is a thread? What is multithreading?

500


What does executescalar return in c#?

446


What are c# i/o classes?

561


Why do we need constructor in c#?

490