----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Mrinal Message 2 in Discussion Hi , Few things regarding ur late binding concept wrt to C# and VB.Net : It's all about difference in the ways in which C# and vb.net compiler works , for e.g : 1. Try MessageBox.Show(((MyClass)myObj).Add(1,2).ToString()); - this will work perfectly fine in C# and will even let u see the method in Intellisense - It's all about correctly typecasting . 2. In Vb.net , u won't get method in intellisense , however at runtime compiler can resolve the method , if used correctly for e.g : try using : MessageBox.Show(myobj.Add(1, 2, 3).ToString()) , for the same method and it will compile however will throw exception at runtime , Therefore i think it's better done in c# as compiler is intelligent enough to let it through . 3. Finally Reflection is not specific to C# , it's for most of the .net framework compliant languages , that can make use of it . regards , Mrinal ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/bdotnet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
