Is is possible to mix IL code and C#/VB.NET code????

B

Bob Rock

Hello,

I was wondering is it is possible to place in a source code file both IL
code and a higher level language (C# or VB.NET) code???
In other words in it possible to have something line inline assembly
(assembly code placed directly into C/C++ source code files) by tagging the
IL code area with a specific keyword??? Does such a possibility exist???
Thx.


Bob Rock
 
D

Daniel O'Connell [C# MVP]

Bob Rock said:
Hello,

I was wondering is it is possible to place in a source code file both IL
code and a higher level language (C# or VB.NET) code???
In other words in it possible to have something line inline assembly
(assembly code placed directly into C/C++ source code files) by tagging
the
IL code area with a specific keyword??? Does such a possibility exist???
Thx.

Not in VB.NET or C#. I can't say that there isn't a compiler\language out
there that supports it, but as it stands I know of none. You will be forced
to write it out seperatly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top