private void UpdateObjectData(NAVObject navObj) { //* Insert complete Object into Dictionary if (!ObjData.ContainsKey(navObj.TableNo)) { List <NAVObject> newList = new List <NAVObject>(); newList.Add(navObj); ObjData.Add(navObj.TableNo, newList); } else { List <NAVObject> existingList = ObjData[navObj.TableNo]; existingList.Add(navObj); } }