generate c# code from index icon