|
-
Sep 27th, 2007, 05:41 AM
#1
Thread Starter
Lively Member
mix and match C# code with VB.Net
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 ?
-
Sep 27th, 2007, 06:33 AM
#2
Addicted Member
Re: mix and match C# code with VB.Net
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
-
Sep 27th, 2007, 06:50 AM
#3
Re: mix and match C# code with VB.Net
Yes, however you can't mix 2 different languages within a single "Project".
I don't live here any more.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|