Closed dricks closed 14 years ago
Hi,
it seems that indentation does not wirk with the foreach keyword using the C# parser.
in the provided sample, add a foreach : ... ... public decimal CalculateSalary(int grade) { string[] strs=new string[]{"test"};
foreach(string s in strs) { //DOH! What's wrong ?! } if (grade > 10) return 1000; return 500; }
As of 10/11/2010, it seems that it has been fixed Thanks !
Hi,
it seems that indentation does not wirk with the foreach keyword using the C# parser.
in the provided sample, add a foreach : ... ... public decimal CalculateSalary(int grade) { string[] strs=new string[]{"test"};