Join Ted Neward for an in-depth discussion in this video What you should know, part of CLR Bytecode for Developers.
- [Instructor] For this particular course, there's not a whole lot you really need by way of prerequisites. I'm assuming that you're at least an intermediate level .NET developer. Concepts like class and object, static and instance, they shouldn't be strangers. They should be things that you're at least familiar with and comfortable with and have used on a fairly regular basis. Similarly, I'm going to assume that you're least comfortable with the C# syntax. Quite frankly, a lot of the demos and a lot of the discussions that we do in this particular course we'll be doing with C#, not because that C# is easier or better for IL, but simply because I'm more comfortable with C# than I am with Visual Basic.
Any .NET language could be used to write a lot of the same kind of code that we're going to be examining, because they all compile to IL. So if you're a Visual Basic developer, bear with me, put up with my particular quirks. If you're an F# developer, if you're a developer who's using some other languages that compile to the .NET platform, all of this is equally, equally relevant to understanding IL. Lastly, I'm going to assume that you're not afraid of the command line, because a couple of the tools that we'll be using will in fact be only invokable from the command line.
They're a part of the .NET SDK, but the only way to get to them is to fire up a good ol' command prompt and out type out at the command line. So, as long as you've got these three things, you should be good to go.
- ILDasm and ILasm
- EMAC CLI specifications
- CIL bytecode
- CIL opcodes and operands
- Stack manipulation