How can I use a List<T> as a parameter on a meth开发者_StackOverflowod, I try this syntax : void Export(List<T> data, params string[] parameters){
I struggle a little with the understanding of generics and how they can and can not be used. I have a generic class TControlMediator like this:
This question already has answers here: Closed 10 years ago. Possible Duplicate: Comparing object properties in c#
Afternoon all, a little help if you please. In order to circumvent the 2Gb object limit in .NET I have made a class that allocates memory on the heap and this allows me to create arrays up to the lim
I have a class called Product in my Business object and in another class i want to return a list of objects of this class.Which approach i should use?
The dynamic keyword in C# 4 introduces new ways to work with objects that weren\'t previously possible. How does this overlap with generics? Specifically, are there operations that would be potentiall
I\'m struggling with bridging the concepts of good database design with good object orientated design.
I have a generic List (of Foo) which contains n objects of Type Foo. One of t开发者_运维知识库he properties of Foo is PropertyA. PropertyA can be one of ValueA, ValueB or ValueC. Is there an easy way
Given the following vb.net class: Friend Class PairCollection(Of TKey, TValue) Inherits List(Of KeyValuePair(Of TKey, TValue))
I\'m trying to override equals method for a param开发者_运维百科eterized class. @Override public boolean equals(Object obj) {