Hello
In my application I have UI layer, Business layer , data layer.
At data layer I am listening socket to fill cutomer data. I have a
sortedDictionary<int, Customer> std = new SortedDictionary<int, Customer>;
(Customer is a class I have in my data layer which contain only properties on customer forexample)
class Customer
{
private string customerName;
public string CustomerName
{
get { return customerName; }
set { customerName = value; }
}
private int Age;
public int Age1
{
get { return Age; }
set { Age = value; }
}
etc.....
}
Now assume that I have filled customer dictionary with customer class object records Now I want to return to UI layer so that display in grid
BUT I CAN NOT TYPE CAST IT B/C I DON'T HAVE customer class at UI layer and my UI layer reference to business layer and business layer reference to
data layer
How can I solve this issue
Regards