About 729,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, …

  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. …

  3. C# Generics and Type Checking - Stack Overflow

    A great example of when this would be useful is generic serialization with wildly varying types. If the object being passed in is a string, why do the extra work?

  4. What is the syntax for Typescript arrow functions with generics?

    Aug 31, 2015 · 118 I found the example above confusing. I am using React and JSX so I think it complicated the scenario. I got clarification from TypeScript Deep Dive, which states for arrow …

  5. Creating a generic method in C# - Stack Overflow

    Jan 27, 2010 · I am trying to combine a bunch of similar methods into a generic method. I have several methods that return the value of a querystring, or null if that querystring does not exist …

  6. c# - How to compare values of generic types? - Stack Overflow

    So, two questions: Why do we observe this weird behaviour? What keeps us from comparing the values of generic types which are known to be IComparable? Doesn't it somehow defeat the …

  7. What is the difference between "universal" and "generic"?

    Jun 6, 2014 · I hear lots of time the words universal and generic being used in similar contexts (especially in software engineering) - what is the difference between them?

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

    using List<T> = System.Collections.Generic.List<T>; But that doesn't compile, so is there any way to achieve creating this alias while leaving the type as generic?

  9. Generic Constraint for Non Nullable types - Stack Overflow

    Applying where T : struct applies a generic constraint that T be a non-nullable value type. Since there are no non-nullable reference types, this has the exact same semantics as simply "all non …

  10. How do I get the type name of a generic type argument?

    26 This extension method outputs the simple type name for non-generic types, and appends the list of generic arguments for generic types. This works fine for scenarios where you don't need …