Any way of simplifying the following two short snippets regarding Dictionary? Example 1

if (myList.ContainsKey(myKey))
{
    myList[myKey]++;
}
else
{
    myList.Add(myKey,1);
}


Example 2

Where(x =&gt; 
(myList.ContainsKey(x.Key) ? x.Value - myList[x.Key] : x.Value) &gt; 


myList is Dictionary.

Is there any way or existing method of simplifying or normalizing the code?

Update

Now I've learned Python and came across defaultdict:


Analogue of Python's defaultdict?
Dictionary returning a default value if the key does not exist
Also an alternative:

if (!myList.ContainsKey(myKey))
{
    myList.Add(myKey, 0);
}
myList[myKey]++;