static void Eg3() { string str = "a"; try { while (1 == 1) { str = str + "a"; } } catch (Exception ex) { Console.WriteLine(str.Length); throw ex; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)