Pass pointer to struct as ref in c#