Click here to Skip to main content
15,881,089 members

Articles by Simon P Stevens (Articles: 2, Tip/Tricks: 3)

Articles: 2, Tip/Tricks: 3

RSS Feed

Average article rating: 4.78

Programming Languages
C#
27 Feb 2010   Updated: 3 Mar 2010   Rating: 4.84/5    Votes: 37   Popularity: 7.41
Licence: CPOL    Views: 142,360     Bookmarked: 79   Downloaded: 614
Please Sign up or sign in to vote.
A guide to the methods of triggering .NET events in a thread-safe way.
16 Mar 2009   Updated: 18 Mar 2009   Rating: 4.73/5    Votes: 19   Popularity: 6.04
Licence: CPOL    Views: 63,230     Bookmarked: 51   Downloaded: 283
Please Sign up or sign in to vote.
Techniques for maintaining multiple editions of a software application, and a detailed look at conditional compilation.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.91

Administrator
20 Oct 2010   Updated: 20 Oct 2010   Rating: 5.00/5    Votes: 41   Popularity: 8.06
Licence: CPOL    Views: 143,809     Bookmarked: 22   Downloaded: 0
Please Sign up or sign in to vote.
How to set the current directory correctly when running batch scripts as administrator
General Programming
Threads
2 Mar 2010   Updated: 4 Mar 2010   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: CPOL    Views: 12,421     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
This code provides SafeTrigger extension methods as a way of triggering events in a thread safe way.For details on usage, a discussion of reasons and alternatives, and a full solution download see my article on safely triggering events[^]Multiple overloads are provided for convenience to...
Programming Languages
C#
11 Feb 2010   Updated: 11 Feb 2010   Rating: 4.73/5    Votes: 4   Popularity: 2.85
Licence: CPOL    Views: 10,210     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
The PowerCommands[^] addin for visual studio also includes an option to "remove and sort usings" for all files in a whole project (or solution). It can come in handy when you don't want to go through and do each file manually.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer
United Kingdom United Kingdom
I discovered programming aged 11 with my school's BBC micro, and a book titled "Write your own space action games". (Their ideas of "space action" games were very different to mine. My ideas didn't include a bunch of * signs controlled via a text based menu)

I got hooked on VB for a while (mainly because I discovered I could replace the * signs with .bmp files) until someone pointed out the wonderful world of objects and Java. I also went thought a c++ phase.

I've now been a professional developer for 5 years.

My current language of choice is C#. I spend my free time playing with XNA and microcontrollers.