Imagine this enum in a DLL.
public enum Colors
{
Red,
Green
}
Does adding enum values break binary compatibility? If I were to change it, would existing EXEs break?
public enum Colors
{
Red,
Green,
Blue
}
I saw this answer, but it seemed to address the case of inserting a value. If I add values to the end only, is that OK?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…