Hi,
I have the following code:
Will the following work exactly the same?Code:if (!File.Exists(path)) { FileStream newFile = File.Create(path); newFile.Dispose(); }
ThanksCode:if (!File.Exists(path)) { File.Create(path).Dispose(); }![]()
|
Results 1 to 6 of 6
Thread: [RESOLVED] Code simplificationThreaded View
|
Click Here to Expand Forum to Full Width |