What\'s the exact difference between the two?
// When calling this method with GetByType() public bool GetByType() { // this ret
The is keyword checks if an object is of a certain type. typeof(T) is of type Type, and not of type AClass.
is
typeof(T)
Type
AClass
Check the MSDN for the is keyword and the typeof keyword