[Solved] Unable to convert this Pascal code to C# [closed]
I think it will be something like that: static void Main(string[] args) { Console.Clear(); //unnecessary Console.Write(“Variant=”); int vers = Int32.Parse(Console.ReadLine()); Console.Write(“Number of works=”); int n = Int32.Parse(Console.ReadLine()); string X = vers.ToString(); string FileName = “Shed” + X + “.tab”; //or string FileName = “Shed” + vers.ToString() + “.tab”; //without unnecessary X variable System.IO.File.WriteAllText(FileName, string.Empty); //clear … Read more