I understand what protected internal actually is but I'm confused as to why you would use it. It looks like protected internal and internal have essentially the same protection levels. From my understanding if I wanted to access a variable from a non-derived class in the same assembly this would work with internal and protected internal but not protected. If the variable was in a non derived class in a different assembly this would not work with internal or internal protected or protected. It seems like anything I could want from a protected internal access specifier I will get from the internal specifier. When is it it useful to use protected internal over internal ?
edit : not sure how this is a duplicate - i'm not asking anyone to define protected internal for me, im looking for clarification on why it would be used over the internal modifier. If the reason you think i'm asking this question is because i don't fully understand what protected internal means could you identify where my understanding is flawed?