Using Reflection to Reduce the Size of .NET Executables
This article presents an object-oriented technique for reducing the size of .NET executables. Current binary compressors cannot be used to pack .NET executables because .NET makes use of a specially modified PE file format. We will rely on reflection capabilities supported by .NET to pack .NET binaries using pure C# code. The solution is general and can be used with any .NET executable, no matter in what front-end language it was written.
Read more
Programming C#, 2nd Edition
The first part of Programming C#, 2nd Edition introduces C# fundamentals, then goes on to explain the development of desktop and Internet applications, including Windows Forms, ADO.NET, ASP.NET (including Web Forms), and Web Services. Next, this book gets to the heart of the .NET Framework, focusing on attributes and reflection, remoting, threads and synchronization, streams, and finally, it illustrates how to interoperate with COM objects.
This book is a tutorial, both on C# and on writing .NET applications with C#. If you are already proficient in a programming language, you may be able to skim a number of the early chapters, but be sure to read through Chapter 1, which provides an overview of the language and the .NET platform. If you are new to programming, you’ll want to read the book as the King of Hearts instructed the White Rabbit: “Begin at the beginning, and go on till you come to the end: then stop.
Read more