Updates to Utilities

This commit is contained in:
Tal Aloni 2016-12-27 10:08:22 +02:00
parent 6cb61ca63e
commit 5508c749ce
13 changed files with 417 additions and 13 deletions

View file

@ -7,10 +7,10 @@ namespace Utilities
{
public bool ContainsKey(TKey key)
{
return (this.IndexOf(key) != -1);
return (this.IndexOfKey(key) != -1);
}
public int IndexOf(TKey key)
public int IndexOfKey(TKey key)
{
for (int index = 0; index < this.Count; index++)
{