Fredrik Mörk

Sweden

fmork.net

Age: 43

Senior .NET Consultant in Sweden working for Webstep.

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:

4h
awarded Nice Answer
Aug
27
awarded Good Answer
Aug
14
awarded Guru
Aug
6
awarded Enlightened
Aug
4
awarded winforms
Jul
29
comment Implement IEnumerable<T> For a List Wrapper
@David There is no problem calling wrapperInstance.TList.Add. The Wrapper.Add method is necessary for the list initializer construct (var x = new Wrapper { 1, 2, 3 }) to work.
Jul
15
awarded Yearling
Jul
15
awarded Yearling
Jun
29
awarded Great Answer
Jun
26
awarded Supporter
Jun
16
answered C# - Numbering lines in richTextBox Windows Forms
Jun
12
awarded Good Answer
May
4
comment Is Environment.TickCount affected by system time adjustments?
Good catch, @ahmd0! I got curious, so I checked. It seems that the page was updated in August 2010 to change from my quote above, to what is there now. Makes me wonder what happened: was the docs wrong or did the behavior change?
Apr
23
comment Can anyone tell me if my unit test to this function is correct?
What makes you think that it may not be correct? Have you tried to compile and run it? Did it produce an unexpected result? If so, what did you get, and what did you expect? (a hint: neither of your two code samples will compile).
Apr
22
answered Multiple selections with ListBox?
Apr
21
comment Formatting - at once - all the files in a Visual Studio project
@mjs That is correct. That was edited into the question text after my answer had been posted.
Apr
21
awarded Proofreader
Apr
21
awarded Yearling
Apr
21
awarded Yearling
Apr
15
comment How to assert enum in C# using NUnit
...and you have verified that that code line is hit when running your test?
1 2 3 4 5