How do I right this Java Script code in C#

I am trying to write this java-script code for a default button in c#. Any suggestions?

internal var buttnRect = Rect(0,120,130,30);

internal Rect buttonRect = new Rect(0,120,130,30);

Its all in the documentation.