Things you probably didn’t know about C# – Part 2
Written on March 4, 2010 – 2:10 am | by admin |After a post about Things you probably didn’t know about C#, here’s a new post from the series: 1. If you want to exit you app without calling any finalizers or finally blocks use: Environment.FailFast(); 2. Instead of sting filePath = directoryPath + “\” + filename; you can use: sting filePath = System.IO.Path.Combine(directoryPath, filename); 3. [...]

