We’ve all seen bad code. Code worthy of the Daily WTF. Code which makes us wonder how products ever ship, let alone work. Bad code is boring. Evil code is entirely different. It’s bending a language in ways that would make the designers weep. It’s code which you stare at and swear that it can’t […]
Some languages (most notably LISPs) exhibit a characteristic called Homoiconicity, which means that code is data and data is code. This makes a language very powerful because a program can inspect and manipulate itself. C# isn’t a homoiconic language, but using formalized object graphs, it’s often possible to formulate a problem in such a way […]
When I first entered the security world as a .NET and C# hacker it was an unfriendly territory, as .NET was a blackSheep in the hacking world. The current world of hacking is warming up(a bit) to the .NET hacker. Tools and skills are becoming more prevalent, targets and value are everywhere, the need for […]
Have you ever found times where you just want to write and execute some C# code and you ask yourself Do I really need an IDE? a solution? a project? a class? Do I really need to compile? Why do I have to worry about all these dlls? If you’ve done any development with dynamic […]
This video present the Facade design pattern in C#. The facade pattern (or façade pattern) is a software design pattern used with object-oriented programming that provides a simplified interface to a larger body of code, such as a class library.
This video demonstrates how to conditionally compile sections of code based on a build configuration and pre-processor directive in C#.