Get form Url from a list

Whenever you have an ID from a list item, you might want to create a link to its DispForm or EditForm. But how do you get the Url to the forms?

 1: SPList list = something;

<span class=lnum>   2:  </span>list.Forms[PAGETYPE.PAGE_DISPLAYFORM].Url;