$ 0 0 Try to convert ur java script code to c# code and access gamenumber variable from ur converted c# code.