Update ObjectExtensions.cs

Formatting