Browsing 7239 questions and answers with Jon Skeet
You're just seeing a difference in the string representation of type argument. [LFoo is the normal (admittedly somewhat obscure) way that an array of Foo is displayed. It's not clear why this behaviour has changed (but only in one place)... more 9/18/2014 11:51:09 AM
It's not clear why you need a union at all here. Isn't it just an "or" condition? var query = applications.Where( x => !x.IsSuspended || !applications.Any(y => x.Id == y.ApplicationAssociationId)); (There's no need... more 9/18/2014 10:27:44 AM
Leaving async out of this to start with... With the break, the end of the lambda expression is reachable, therefore the return type of the lambda has to be void. Without the break, the end of the lambda expression is unreachable, so any... more 9/17/2014 7:21:57 PM
You've declared CantFly without any access modifier: class CantFly ... which means it's only accessible within the same package. Just make it public, and then you'll be able to use it within other packages. See the Java tutorial on... more 9/17/2014 2:22:01 PM
No. Signing provides some extra information - it doesn't remove any information. All it means is that a client can verify that the code was signed by the owner of the key. (For example, you may have a list of the keys from trusted... more 9/17/2014 2:10:46 PM
I've tried Type t = Type.GetType("My.Namespace.Classname"); but this just returns null even with the full namespace and name of my custom class object. I suspect that's because it's not in the calling assembly or mscorlib, which are... more 9/17/2014 2:05:27 PM
This is because almost any operation involving a dynamic value is resolved dynamically at execution time. There are no exceptions made for cases where actually there's only one method present at compile-time; the language is simpler that... more 9/17/2014 1:53:48 PM
Optional parameters are really a compile-time feature - the CLR and framework have very little to do with them, other than to make the information available via reflection. So while you can detect the fact that a parameter is optional... more 9/17/2014 12:17:44 PM
I suspect the word "print" is confusing things here. You probably wouldn't think of it as a problem if it were PdfTemplateClient1 for example. However, I would try to put the noun at the end - I'd use Client1PrintTemplate, to go along with... more 9/17/2014 6:24:13 AM
Yes. Not only is it guaranteed to be UTF-16, but the byte order is defined too: When decoding, the UTF-16 charset interprets the byte-order mark at the beginning of the input stream to indicate the byte-order of the stream but defaults... more 9/16/2014 7:15:42 PM