Can I include C# and VB.Net into the one application. For example can I use objects written in C# to use in my VB app ? :afrog:
Printable View
Can I include C# and VB.Net into the one application. For example can I use objects written in C# to use in my VB app ? :afrog:
Yes. Within a given solution you can have multiple projects each writtent in a different .NET language.
You can also reference class libraries wrtten in one language in a project writtent in another (e.g. you can reference a C# assembly from a VB.NET project). In gact, if you develop primarily in VB.NET, you're already doing it since the FCL is pretty much all C#.
Hope this helps,
Steve
Yes, however you can't mix 2 different languages within a single "Project".