Hi,

I have the following code:
Code:
if (!File.Exists(path))
{
	FileStream newFile = File.Create(path);
	newFile.Dispose();
}
Will the following work exactly the same?
Code:
if (!File.Exists(path))
{
	File.Create(path).Dispose();
}
Thanks