C / C++ / C# - Reusable Code