C# – Use VB.NET and C# in the same application

c++vb.netvisual-studio-2005

I am developing a GUI based application in MS Visual Studio 2005, I just want to
know if it is possible to use both VB.NET and C# in the same project. Or can I include a module written in C# in my VB.NET project?

I have a class written in C# which I want to use in my VB.NET based project, so if I can include and call functions from that project than I won't have to write the class again in VB.NET.

So please help me as I am new to .NET programming.

Best Solution

I just want to know that is it possible to use both VB and C# in the same project.

No, not in the same project. On the other hand, you can use them in the same solution.

Or can i include a module written in C# in my VB.net project.

I propose that you create a solution containing two projects: one in C# which forms a library that you use from your VB project. This is straightforward, easy to maintain and easy to extend.