Fixing naming of variables/properties to confirm to MS standard.
Removing commented out code.
Performing CAST instead of using AS operator as it will get rid of Resharper static analysis warning.