.NET says it supports 44 languages.for example i write the code in C# in execution time it converted in to IL and again coverted in to Machine language.is there any chance to get VB Code when iam compile the C# code. IS THERE ANY CHANCE
Asked
Active
Viewed 856 times
-5
-
it supports different languages means the il code which you get after compiling from one language can be used in other .net compliant languages – Sudhakar Tillapudi Nov 26 '14 at 09:31
-
1Do a web search with keyword "Reverse engineering" :) – Sriram Sakthivel Nov 26 '14 at 09:32
-
can u elaborate ur answer please – benz Nov 26 '14 at 09:33
-
You want to convert IL to VB.net code or the C# source file itself ? – Sriram Sakthivel Nov 26 '14 at 09:33
-
i want to convert C#-IL-VB – benz Nov 26 '14 at 09:35
-
It helps a lot if you have the C# source code. Also, don't expect any converter to do a flawless job. Finally, why not just learn that other language? – reinierpost Nov 26 '14 at 09:38
-
Thanks for ur suggision.yesterday only i got the mail from my manager,what it contains is we got a new project that we develope in VB.thats why iam asking. – benz Nov 26 '14 at 09:42
-
The risk of decompiling is that the resulting code won't be as easy to read as the original. – the_lotus Nov 26 '14 at 16:58
2 Answers
1
There are lots of free (and some not free) converters but these are mainly for C# -> VB.NET or vice versa:
http://www.carlosag.net/Tools/CodeTranslator/
http://www.developerfusion.com/tools/convert/csharp-to-vb/
Tangible software provide various conversions from some specified languages to others:
http://www.tangiblesoftwaresolutions.com/Demo.htm
There is no built in way to convert from .net language a
to .net language x

Matt Wilko
- 26,994
- 10
- 93
- 143
0
Yes, you can use one of several available decompilers to decompile to VB or c# from IL. This web page lists some of them (free): http://blog.wibeck.org/2013/02/free-options-for-reflector-net-decompiler/

Kell
- 3,252
- 20
- 19