print(Screen.currentResolution); not working

When I add this code

print(Screen.currentResolution);

In the console I get “Unity Engine.Resolution” and thats it. It is suppose to returns the current resolution of the desktop.

found in the http://docs.unity3d.com/Documentation/ScriptReference/Screen-currentResolution.html site

Screen.currentResolution returns a Resolution object which has .height and .width properties. Try this:

print(Screen.currentResolution.width+ " x "+ Screen.currentResolution.height);