with or without ref - C#