what is equivalent to this code in c#???