how to get mouse position csharp

Code Example - how to get mouse position csharp

                
                        //WARNING: not just limited to your form, but to the whole sceen :)

//Getting the mouse position and storing it as a point
Point f = new Point((Size)MousePosition);