Minimize MinAndMaxElement.cs

I removed methods access modifiers, some brackets of conditional
statements and namespace.