query: How do you use `switch` in C# to conditionally branch based on only a type parameter?
positive_passages.docid: 27503
positive_passages.text: Is there a better alternative than this to 'switch on type'?
negative_passages.docid: 106839
negative_passages.text: Equivalent of Visual Basic's And and Or in C#?
negative_passages.docid: 79758
negative_passages.text: Implementing switch cases
negative_passages.docid: 121165
negative_passages.text: Is there a reasonable approach to "default" type parameters in C# Generics?
negative_passages.docid: 123993
negative_passages.text: Can I turn a collection of optional parameters into a macro?
negative_passages.docid: 65960
negative_passages.text: Why the switch statement cannot be applied on strings?
negative_passages.docid: 17000
negative_passages.text: Getting a System.Type from type's partial name
negative_passages.docid: 13109
negative_passages.text: Null or default comparison of generic argument in C#
negative_passages.docid: 80649
negative_passages.text: C#: Any way to skip over one of the base calls in polymorphism?
negative_passages.docid: 36698
negative_passages.text: How to set optional parameter to default without passing it?
negative_passages.docid: 43803
negative_passages.text: Why can't I use switch statement on a String?
negative_passages.docid: 53018
negative_passages.text: How can I dynamically switch web service addresses in .NET without a recompile?
negative_passages.docid: 71732
negative_passages.text: How do I use an enum value in a switch statement in C++?
negative_passages.docid: 121132
negative_passages.text: Conditional LINQ where statement?
negative_passages.docid: 74476
negative_passages.text: C/C++: switch for non-integers
negative_passages.docid: 87870
negative_passages.text: Wildcard equivalent in C# generics
negative_passages.docid: 97672
negative_passages.text: How to dynamically call a method in C#?