You searched for how does c# work. We found 81 results in 0.141 seconds.

Indexer explicit implemented IFormattable

I wrote myself an indexer, it works but as soon as I implement "IFormatable" explicit, it does not work anymore. Why is does it not work and how to use it explicit ? This is...
Jon Skeet
people
quotationmark

By implementing ToString(string format, IFormatProvider formatProvider) explicitly, you can only call it via a reference with a compile-time type of IFormattable. You can do that by using this: return... more

people