Eric Anastas Eric Anastas - 2 months ago 6x
C# Question

How do I name an interface when the base word starts with an I?

I want to create an interface for "Items". Typicaly I would name an interface by adding and "I" prefix to a base word. But in this case my base word already starts with an I. Here are a couple ideas I've had

  • IItem: Two I's

  • Iitem : Vary the case

  • ItemInterface: Skip the I prefix and write out Interface

What looks the best? Has anyone else run into this problem. If so what did you do?


Although hard to read, IItem would be in line with some existing "II" interfaces: