About 684,000 results
Open links in new tab
  1. What's the difference between "general" and "generic"?

    Apr 30, 2014 · Generic is the opposite of specific. Generic and specific refer to the identification of a fact. Specific means a fact that has been specified. If you ask for (specify) a pain reliever, aspirin would …

  2. How can I pass in a func with a generic type parameter?

    Mar 24, 2014 · You can certainly define generic delegates, after all, that's exactly what Func and Action are. They are treated as generic definitions, just like generic interfaces and classes are. However, …

  3. Nullable type as a generic parameter possible? - Stack Overflow

    Oct 16, 2008 · The type 'int?' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method Is specifying a nullable type as a generic parameter at all possible?

  4. c# - A generic error occurred in GDI+ - Stack Overflow

    A generic error occurred in GDI+ Asked 14 years, 3 months ago Modified 10 months ago Viewed 63k times

  5. How do I get a class instance of generic type T? - Stack Overflow

    I have a generics class, Foo<T>. In a method of Foo, I want to get the class instance of type T, but I just can't call T.class. What is the preferred way to get around it using T.class?

  6. Generics in C#, using type of a variable as parameter

    Feb 11, 2015 · The point about generic types, is that although you may not know them at "coding time", the compiler needs to be able to resolve them at compile time. Why? Because under the hood, the …

  7. Using a 'using alias = class' with generic types? [duplicate]

    using LookupDictionary = System.Collections.Generic.Dictionary<string, int>; Now I want to accomplish the same with a generic type, while preserving it as a generic type:

  8. How to get the type of T from a member of a generic class or method

    This appears to address the question of whether the type is a list-y sort of thing, but the question is more about how to determine what generic type parameter a type that is known to be a List already was …

  9. How to find reason for Generic GDI+ error when saving an image?

    Mar 22, 2013 · Having a code that works for ages when loading and storing images, I discovered that I have one single image that breaks this code: const string i1Path = @&quot;c:\\my\\i1.jpg&quot;; …

  10. No generic implementation of OrderedDictionary? - Stack Overflow

    Apr 13, 2010 · 107 Implementing a generic OrderedDictionary isn't terribly difficult, but it's unnecessarily time consuming and frankly this class is a huge oversight on Microsoft's part. There are multiple …