In this instance, you would use in university. At is only used before specific terms such as "I am studying at Harvard" or "I am studying at Williams College."
For the second question, context must be applied. If you are talking about the corner of a room, in should be used. However, if you are talking about the corner of a sidewalk or street, on or at would be correct.
I hope I helped!