public static string ToCSharpType(this string s) { return s.Replace ("Integer", "int").Replace ("String", "string") .Replace ("XNA.", ""); }