Access static variable c#

I have a c# script, with a static variable inside, that I would like to access, from another c# script but I cant figure out how. I was kind of thinking, if it was just like in Javascript, where you can do it like this.

var targetScript : Script;

function OnGUI () {

if (GUI.button(Rect(100,100,100,100),"Test")){
targetScript.number + 10;
}

}

But how would i do this in c#?

you need to set the variable first

public static int number;

This is how you access it in another script

void Start(){

    TheOtherScript.number = 10;
}