Aug
10
comment Using C# reflection to call a constructor
It is also worth pointing out that there is another Invoke overload that allows you to invoke the constructor on a pre-existing instance. I think of the Invoke(Object[] args) as an allocator+initializer and Invoke(Object instance, Object[] args) as just an initializer.
Jul
22
comment String Building Issue in Powershell
I'm not a PowerShell expert, but I think it is considered more idiomatic to use interpolated strings: $fullApplicationPath = "{0}//{1}/{2}" -f $protocol, $server, $applicationPath; becomes: $fullApplicationPath = "$protocol//$server/$applicationPath"; The double quotes are important here, single quoted strings won't expand variables.
Jul
15
answered Debugger.Launch not working
Jul
9
answered match doesnt work after adding delimiters
Jun
23
awarded Popular Question
Jun
18
comment Detecting an undefined object property
@Octopus, by your logic: "in javascript you can go a = 1, because 1 IS a keyword!". But clearly, that isn't true.
Apr
8
revised Literal notation for Dictionary in C#?
deleted 1 character in body
Feb
3
answered Literal notation for Dictionary in C#?
Jan
21
answered Double or decimal for latitude/longitude values in C#
Dec
8
accepted String constants embedded twice in .Net?
Dec
6
awarded Nice Question
Dec
5
comment String constants embedded twice in .Net?
@DavidHeffernan Release|Any CPU (prefer 32bit). I've tried other platform settings too, all with the same result.
Dec
5
asked String constants embedded twice in .Net?
Oct
16
awarded Nice Answer
Oct
15
awarded Yearling
Oct
15
awarded Yearling
Oct
8
answered Getting model data in the AuthorizeAttribute in MVC 3
Sep
26
awarded Enlightened
Aug
22
awarded Great Answer
Aug
19
comment CS0436: Type conflicts with the imported type
You said it yourself: internally to the assembly. Option 3: Make the license class internal and this should fix the problem. Much better than a pragma.
1 2 3 4 5