Moved C# code to an individual facet