You searched for jon skeet
. We found 71
results in 0.265 seconds.
The time zone with an ID of "Central Europe Standard Time" is just the one used by central Europe... it doesn't really mean standard time. As central Europe is observing daylight savings at the moment, the offset really is UTC+2. It's... more
When I call Singleton.Stub() the private constructor is not being hit, when I uncomment the static ctor private constuctor is always called. It's not clear what the value of which is here, but fundamentally you've got four... more
Unfortunately Java generics use type erasure, meaning that at execution time, any particular PacketHandler<T> is just PacketHandler as far as the VM is concerned. You may want to change your code to: public interface PacketHandler... more
You've specified HH in your format, which is the 24-hour format. But you've also got an AM/PM designator. As such, "03:00 PM" doesn't make sense - it's simultaneously trying to represent 3am (03 in 24 hours) and 3pm (PM in the data). It... more
Your client has been set up to only send 5 characters at a time, and then flush - so even though the InputStreamReader probably asked for more data than that, it received less, and then found that it could satisfy your request for 5... more
It's worth bearing in mind that nullable types (both nullable value types and reference types) behave differently to non-nullable value types in general when it comes to Min: a null value is treated as "missing" in general, so it's not... more
It's unclear exactly what's going on as there's version confusion, but I suspect you just want: var setting = @"worker_processes {0}; worker_rlimit_nofile {1}; error_log logs/{2} {3}; events {{ ... more
Your call to StaticClass.Equals is actually just a call to Object.Equals(Object, Object), as StaticClass doesn't provide an applicable overload for Equals. If you look in the IL, you'll see that the compiler has resolved the call to just... more
Basically .NET calendar code doesn't support cutovers between the Gregorian calendar and the Julian calendar... and even if it did, I wouldn't really expect it to support the oddities of the Swedish situation, which didn't follow either of... more
Protected means it can be used from code in the derived classes - it doesn't mean it can be used "from the outside" when working with derived classes. The protected modifier can be somewhat tricky, because even a derived class can only... more