I've an application where i show the bunch of lists in a site. I can click add new item right there and i want to redirect the user to the 'add new item URL' for the particular list he has selected. But the URLs are not uniform.
For ex -
For Tasks the add new item URL is
For WorkFlow Tasks it is
How can i get/built these URLs through code?