Click here to Skip to main content
15,436,928 members

Articles by Simon Dufour (Tip/Tricks: 4)

Tip/Tricks: 4

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.54

Programming Languages
C#
19 Aug 2010   Updated: 20 Aug 2010   Rating: 4.95/5    Votes: 13   Popularity: 5.34
Licence: CPOL    Views: 14,270     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
*Edited* EVEN MORE *Edited* Boosted Silic0re09 version. It will work with up to 10^3002 or 3003 characters or novenonagintanongentillion. I've also refactored it a bit for you to have a better grade. For sanity sake, I've put the delimiters in text files. You can download them...
19 Aug 2010   Updated: 20 Aug 2010   Rating: 4.20/5    Votes: 2   Popularity: 1.26
Licence: CPOL    Views: 8,101     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Ever wanted to track for how much time a specific process have been running? Here's an easy way to do so.
31 Aug 2010   Updated: 31 Aug 2010   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: CPOL    Views: 6,071     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Check you code out, you'll have problem if you start editing from INSIDE. You change your SelectionStart without deselecting anything.. this mean that selection changes instead of only having your cursor moving.foreach(Match m in mc){ int startIndex = m.Index; ...
16 Sep 2010   Updated: 16 Sep 2010   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: CPOL    Views: 21,110     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
If you don't need to check for other strings than True or False, then, you should use Boolean.Parse or Boolean.TryParse.// Return trueBoolean.Parse("true");// Return falseBoolean.Parse("false");// Exception.. you can prevent that from happening by using a try..catch// or using...

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer CGI
Canada Canada
I have a three years technical education in computer science (June 2006) and a four years bachelor's degree in Software Engineering from the École de Technologie Supérieure (August 2010). I worked as a Web Developper at the beginning of my career before being recruited as a .NET Analyst-Programer at SNC-Lavalin in Montreal. I worked there until they outsourced all development to CGI. I worked there since.