Your C# is already functional, but only if you let it
hmemcpy.com