/// <summary> /// Get the index of the specified library accessed by library id /// </summary> /// <param name="libraryId"></param> /// <returns></returns> public static int Index(int libraryId) => LibraryCollection.FindIndex(lib => (lib.Id == libraryId));