KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have built myself a generic collection class which is defined like this. public class StatisticItemHits<T>{...} This class can be used with int and string values only. However this public class StatisticItemHits<T> where T : string, int {...} won't compile. What am I doing wrong?
Tags (comma-separated)
Save Edits
Cancel