Various C/C++/C# code snippets