Archive for July, 2008

To get command line parameters in a standard console app (C#): static void Main(string[] args){ foreach (string arg in args) { … }} To get command line parameters in a windows forms app (C#): string[] args = Environment.GetCommandLineArgs();foreach (string arg in args){ …}

Teaching computer science is something that I think about occasionally, and as such I am interested in different stiles of books and tutorials. I have even recently considered writing some programming tutorials, just for the exercise it would be to me. Yesterday, I came across an essay from Peter Norvig, who I respect as a [...]

Passing URL parameters on the query string is very standard, and yet Javascript doesn’t give an easy way to access them, leaving each of us to have to re-invent the wheel ourselves. This puts us each on a google search to try to find a good function. I found one at: http://www.netlobo.com/url_query_string_javascript.html Kudo’s to “lobo235″ [...]