I don't really care at this point what you "think" crashed your shard because it's obvious that you have no clue yourself
I have a clue - a single line - add it in - go to steal from a phack horse - crash - remove line - can steal from a pack horse - so i know which line it is - when you do 1 line at a time - it is easy to figure out
Why don't you add the code to your backup server and give us some real crash log with the right code and not something that "you had" in the past?
You don't have to answer that, you won't get it to crash again with those lines of code even if you try...
must be nice to afford to have back up servers - why don't you send me the money to have one, then i will test it on it
Fact 1: The code we posted is 100% safe and will not cause a crash (unless it's forces using "throw" on purpose which is not the case here).
Fact 2: You keep claiming that it crash your shard and yet you haven't provided a real code and crash log but only "memorized code" and "recycled crash log".
i did provide the real code - it was taken from the remmed out line of the script
i pulled the crash log from the recycle bin, posted it then permently deleted it - again i can not aford drives of super size to keep every file for ever - so i perform disk maintence - so the only thing left of that crash report is what i had posted earlier in the thread for it - so excuse me for not being a big bad rich kid that can afford all kinds of big fancy computer equipement
P.S.
Before you reply to this post I strongly suggest that you refresh your mind browsing the MSDN and reading about boolean evaluations and conditioning.
Try not to "make-up" excuses why the code will crash because your made-up excuses so far were totally misinformed and unrealistic.
The c# compiler compiles the code in the exact same way regardless of what version of visual studio you have installed on your computer.
you better go back to reading them yourself -- there is a reason why there are different versions --- one was how they would compile the code and use it
for example - VB used to run at about 60% the speed of the equivelient VC+ code back when they were in version 1-2 by the time version 6 came out VB then ran at only about 10-15% slower of the equivelient code in VC+
(equivelent code meaning programs that did the exact same thing)
Also optional settings in the compilers will change how the code is read and used - and those vary on the versions, plus numerous addon tools from different versions, and 3rd party ones also - all afffect the way the code compiles
So different versions and runtime dlls do affect code and how it is compiled
Also the different version of the "code makers" will affect it also - like if it is Borland or microsoft or a different compiler - all produce slightly different results
I have been programming/working on computers since the late 70's - and i know how they are sapposed to work - but things can be modified to change that arround - that is the beauty of computers
that is why i 1st wrote that code that way, and why it was one of the last to be removed from the script - because it does not make since that it would crash the shard - but it does - so somewhere, some file, some setting, what ever, has caused it to check that way
ps - the exact code that i coppied in had the //else removed from it and a few tabs to make it more readable - otherwise - it was copy and paste