I need to serialize and send someone a file. There are two types of struct which I will deal with, one is called trade and one is called quote. I am trying to nest them inside the class tickdata but I don't seem to get it.
public class tickdata
{
public class trade
{
long time;
double price;
uint size;
}
public class quote
{
long time;
double bid;
double ask;
double bidsize;
double asksize;
}
}