ItsMods

Full Version: C# need help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey whats up I have a little question:
is this
Code:
if (File.Exists("blablabla"))
                {
                    if (File.Exists("blobloblo"))
                    {
                        //do some serious shit
                    }
                }
the same as this?
Code:
if (File.Exists("blablabla") && (File.Exists("blobloblo")))
                {
                    //do some serious shit
                }
thank you Wink
Yes although you don't need those brackets on the second one.

Code:
if(File.Exists("abc") && File.Exists("123"))
(07-17-2012, 17:36)master131 Wrote: [ -> ]Yes although you don't need those brackets on the second one.

Code:
if(File.Exists("abc") && File.Exists("123"))

ok thanks