how do i make that in c#?