Get cursor position in c#?

How can I get mouse cursor position in my game or something like that? In c# Thanks.

Have you ever looked into the scripting reference?

Unity is so well documented and all Unity classes are available on all languages (at least JS and C# i'm sure. But i don't know anything about boo)

All mouse-related stuff is handled by the Input Class which you can find more details of here:

However, in 3D games, Input.mousePosition is not the best way to test whether the mouse is over an object. Instead, check for ray collisions. You can find a lot more about how to test for rays here:

Vector3 mousePosition = Input.mousePosition;

Script Reference: