public Int32 Start(String pName, String useNote = null) { pTimeSpan pts = new pTimeSpan(DateTime.Now, useNote); openIDs.Add(currentID, pName); if (profileList.ContainsKey(pName) == false) profileList[pName] = new Dictionary<Int32, pTimeSpan>(); profileList[pName].Add(currentID, pts); return ++currentID; }
public Int32 Start(String pName, String useNote = null) { pTimeSpan pts = new pTimeSpan(DateTime.Now, useNote); openIDs.Add(currentID, pName); if (profileList.ContainsKey(pName) == false) { profileList[pName] = new Dictionary <Int32, pTimeSpan>(); } profileList[pName].Add(currentID, pts); return(++currentID); }