Why use int in enum declaration?

Posted by Carlos_Liu on Stack Overflow See other posts from Stack Overflow or by Carlos_Liu
Published on 2010-04-12T01:53:26Z Indexed on 2010/04/12 2:03 UTC
Read the original article Hit count: 317

Filed under:

What's the point of using : int in the enum declaration as following?

public enum ArchiveAssetType : int
{
    Folder = 0,    
    File = 1,   
    Link = 2
}

© Stack Overflow or respective owner

Related posts about c#