The process cannot access the file ...

09/12/2014 04:03 { Angelius }#16
Quote:
Originally Posted by Xio. View Post
Readability. English motherfucker, do you speak it? (Was going to put the meme but too few posts, imagine Samuel L Jackson)
The only thing i can imagine is how stupid/ignorant you have to be to have your "readability Eliminated" by a single using statement.. Sorry but when they designed C# the didn't have fucktard's like yourself in their mind :rolleyes:
09/12/2014 08:40 Xio.#17
thats fine. It's up to me if i use it or not :) My personal style is to write more code if it makes it easier to read / work with - important statement comming - for me.

IMO, this is really ugly

Quote:
using (var SW = (mod == Mode.Open ? new StreamWriter(location, false, Encoding.Default) :
new StreamWriter(File.Create(location))))
as opposed to what you suggested

Quote:
using (var SW = new StreamWriter(new FileStream(Path, FileMode.OpenOrCreate)))
which does the exact same thing.

Have a nice day mate, I hope you are able to since your manners imply that you are struggeling alot with yourself.
09/12/2014 20:55 Super Aids#18
System.IO.File.* anyone?

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
09/13/2014 01:14 turk55#19
Quote:
Originally Posted by Super Aids View Post
System.IO.File.* anyone?

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
This just proves (again) that people should use MSDN.
09/13/2014 03:21 { Angelius }#20
Quote:
Originally Posted by Xio. View Post
thats fine. It's up to me if i use it or not :) My personal style is to write more code if it makes it easier to read / work with - important statement comming - for me.

IMO, this is really ugly



as opposed to what you suggested



which does the exact same thing.

Have a nice day mate, I hope you are able to since your manners imply that you are struggeling alot with yourself.
My reply was aimed at iliveoncaffiene and only to show him that the Conditional "?" is not necessary.