In SharePoint, if you use .RootFolder.Name property as shown below:
1: string rootFolderName = objSPWeb.Lists[strListGuid].RootFolder.Name;
You might get exception on this IFF user changed that list name/title under question. Actually, RootFolder.Name doesn’t get changed once list is created. So, to make code flawless, you should use Title property of the list as shown below:
1: string rootFolderName = objSPWeb.Lists[strListGuid].Title;
db7f08a2-c517-4b0e-928a-916bb8421821|0|.0
SharePoint