added C# reference code for mapping coordinates