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.