How can i achieve something like this - C#