Senior .NET Consultant in Sweden working for Diversify.

When I am not at work, I still do a fair share of programming, for the fun of it, when I am not spending time with my family, out biking or doing some photography.

Various internet traces:

Oct
21
awarded Enlightened
Oct
21
awarded Nice Answer
Oct
21
comment What is the difference between User Control, Custom Control and Component?
@NickAlexeev I haven't worked much in the winforms world since a few years back, but I believe that would be the way to go, yes.
Oct
20
awarded Great Answer
Oct
17
awarded Good Answer
Oct
9
awarded Guru
Oct
5
comment Raise event thread safely - best practice
Thanks for sharing that observation, @rism! Corrected the text.
Sep
30
awarded Explainer
Sep
30
answered Is await with Task.Run (NonAsyncMethod()) any better?
Sep
30
comment Error in Copying File using C#
The problem is not that the directory does not exist, but that the File.Copy call does not have the target file name, but only the target directory.
Sep
30
comment Error in Copying File using C#
Actually it works just as well with forward slashes as with back slashes, the system figures that out.
Sep
30
answered Error in Copying File using C#
Sep
23
comment Overloading Console.ReadLine possible? (or any static class method)
@BenPretorius not sure, but I think that you can click the downvote arrow again to "toggle" it. If not, no worries :-)
Aug
23
comment Should enums in C# have their own file?
Yes @DebugErr, I agree with you. Since this answer was posted back in 2010 I have changed between various approaches and tend to go with one file per type, or declaring enums in the same file as the related class.
Jul
15
awarded Yearling
Jul
15
awarded Yearling
Jul
2
awarded Curious
Jun
5
comment Why is double.NaN not equal to itself?
@JimBalter You are correct that my comment was wrong: the reference source is actually saying public const double NaN = (double)0.0 / (double)0.0; link to the reference source. Thanks for pointing that out. On another note: being wrong and lying are two completely different things
May
22
awarded Yearling
May
22
awarded Autobiographer
1 2 3 4 5