Using unsafe flag, a parameter in an extension method can be modified.