question about properties lesson on the official site

after writing public variable and making properties for it in a class called (FirstClass) :

    public int example = 5; 
    public int Example 
    { 
          get 
         { 
              return example; 
         } 
          set 
         { 
                  example = value;
          } 
     }

then after that we write another class called (secondClass)
how do I import the variable without changing it or giving it new value? when i simply write on second class :

void Start (){
    		if (example == 5) {
    			Debug.Log ("The value is: 5" );
    		}
    	}

it will give me error that " example " doesn’t exist …

First the “public int example = 5;” should be private otherwise there’s no need for a property. Second, the secondClass does not have a variable called example, so you need a reference to the FirstClass in the second like this: FirstClass fc; and set this in the inspector or however you want. Then in the second class you can say if (fc.Example == 5)