Review your code using MSIL Disassembler

Ildasm.exe can be a useful tool to review your assembly. It is located in the \Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\bin folder. Here are a couple of things you can do with it.

1) Search for hard-coded strings in your code:

Ildasm.exe yourcomponent.dll /text findstr ldstr

2) Identify locations that might have boxing overhead:

Ildasm.exe yourcomponent.dll /text findstr box
Ildasm.exe yourcomponent.dll /text findstr unbox

Print | posted on Thursday, October 06, 2005 3:40 PM

Comments on this post

No comments posted yet.

Your comment:

 (will show your gravatar)