This question already has an answer here:
I am trying to assign my own GUID to a list I am creating but am having difficulties. Currently I am creating the list with the code:
site.Lists.Add(CONFIGURATION_LIST_NAME, CONFIGURATION_LIST_DESCRIPTION, SPListTemplateType.GenericList);
Which returns a GUID, but I would like to supply my own. Is there anyway to do this in SharePoint 2010?