Added ToDictionary Method
Added ToDictionary Method