Problem solve Get help with specific problems with your technologies, process and projects.

Do I give up '_asm' if I switch to C#?

It appears I give up "__asm" if I switch to C#. Is that right? How does one use assembler language and/or straight C in C# to get close to the machine when necessary?
The .NET Framework and C# language have almost all the functionality you may ever need. If it's not enough, you can use so-called unsafe C# code in order to take advantage of raw pointers and other stuff. But there's no way to have C/assembler code mixed. You can always use P/Invoke to make calls to unmanaged code, of course (that is, call external libraries created in C/assembler).

Dig Deeper on C# programming language

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.