Mixing C# class in VB Class Library

Posted on 2009-04-16
Last Modified: 2012-05-06
Can I add a C# class inside a VB Class library?

I tried it and it squiggles up, but I'm wondering if I add a language indicator in the file if it will work.

Is that possible?

Question by:BobCSD
    LVL 69

    Accepted Solution

    Apparently it is possible (but I don't know how).

    Don't forget that a project is tied to a language and a compiler. That means that without a lot of manual steps, it would be hard to combine both language into the same project.
    LVL 1

    Author Comment

    Okay, really, to complete this question, I need to know how.
    Anyone else?
    LVL 1

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now