C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




DLL PROBLEM


Posted Date: 14 Sep 2006      Total Responses: 4

Posted By: Parveen Kumar       Member Level: Silver     Points: 2


Suppose i have a dll written in c#. And i wants to use it vb.net application. In c# dll i have two functions: public void f() and public void F() { { } } IF from vb.net Application i call function f() of c# dll then Which Function is called f() or F() because vb.net is not case sensitive. I mean to say wheather it will treate f() as a small f or f() as a Capital F.



Responses

Author: Abhishek Arya    14 Sep 2006Member Level: DiamondRating:     Points: 2
If you are using .dll which is made in c# it will give you option to select any of the function. Case sensetive not matter in vb but as there are two seprate function in .dll so it will give both the function.


Author: Bhargava Pandey    14 Sep 2006Member Level: SilverRating:     Points: 2
C# is case sensative so when u call f() the f (small) will be called.


Author: vihari    14 Sep 2006Member Level: SilverRating:     Points: 2

hai praveen...
it will treat as small f only.

thank you


Author: Sidhartha Gundavarapu    15 Sep 2006Member Level: GoldRating:     Points: 2
No. you cannot use those methods in VB.Net This is against the best practices to have methods having same name and different case. This especially should be avoided when you are developing generic assemblies that will be re-used in other applications


Post Reply
You must Sign In to post a response.
Next : How to add resource file to the project??
Previous : events of datagrid
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

it support

Contact Us    Privacy Policy    Terms Of Use