src/NetStandard/Collections/Collections/src/Specialized/IndexDirectory.cs
/// <summary>
/// Adds <paramref name="index"/> next to same indexes of <paramref name="index"/> and won't cause any index changes.
/// </summary>
/// <param name="index">The to be added index.</param>
/// <returns>The index entry.</returns>
Adds  next to same indexes of  and won't cause any index changes.
Adds next to same indexes of and won ' t cause any index changes .
public IndexDirectoryEntry Add(int index, IndexDirectoryEntryMode mode)
        {
            var indexEntry = new IndexDirectoryEntry(index, mode);
            return AddEntry(indexEntry);
        }
public IndexDirectoryEntry Add ( int index , IndexDirectoryEntryMode mode ) { var indexEntry = new IndexDirectoryEntry ( index , mode ) ; return AddEntry ( indexEntry ) ; }
Adds  next to same indexes of  and won't cause any index changes.
Adds next to same indexes of and won ' t cause any index changes .
The index entry.
The index entry .
index
int
The to be added index.
The to be added index .
mode
IndexDirectoryEntryMode