Click here to Skip to main content
15,887,083 members
Home / Discussions / C#
   

C#

 
GeneralRe: compile time error or runtime error? Pin
George_George7-May-08 1:24
George_George7-May-08 1:24 
GeneralRe: compile time error or runtime error? Pin
Guffa7-May-08 6:44
Guffa7-May-08 6:44 
GeneralRe: compile time error or runtime error? Pin
George_George7-May-08 22:28
George_George7-May-08 22:28 
GeneralRe: compile time error or runtime error? Pin
Guffa8-May-08 12:59
Guffa8-May-08 12:59 
GeneralRe: compile time error or runtime error? Pin
George_George8-May-08 22:13
George_George8-May-08 22:13 
GeneralRe: compile time error or runtime error? Pin
Guffa9-May-08 1:26
Guffa9-May-08 1:26 
GeneralRe: compile time error or runtime error? Pin
George_George10-May-08 22:00
George_George10-May-08 22:00 
GeneralRe: compile time error or runtime error? Pin
Guffa12-May-08 4:16
Guffa12-May-08 4:16 
George_George wrote:
Good to learn from you. I have never used type information after Enum to restrict the type of Enum -- and just use the default one -- I think it is int type?


Yes, it's int.

George_George wrote:
what types could be used with Enum definition to define the type of the Enum?


It can be any integral type except char (i.e. sbyte, byte, short, ushort, int, uint, long or ulong).

enum (C# reference)[^]

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: compile time error or runtime error? Pin
George_George13-May-08 3:35
George_George13-May-08 3:35 
GeneralRe: compile time error or runtime error? Pin
Guffa14-May-08 5:46
Guffa14-May-08 5:46 
GeneralRe: compile time error or runtime error? Pin
George_George14-May-08 16:07
George_George14-May-08 16:07 
AnswerRe: compile time error or runtime error? Pin
#realJSOP4-May-08 4:07
mve#realJSOP4-May-08 4:07 
GeneralRe: compile time error or runtime error? Pin
George_George4-May-08 4:37
George_George4-May-08 4:37 
GeneralRe: compile time error or runtime error? Pin
Guffa4-May-08 7:32
Guffa4-May-08 7:32 
GeneralRe: compile time error or runtime error? Pin
#realJSOP4-May-08 9:41
mve#realJSOP4-May-08 9:41 
GeneralRe: compile time error or runtime error? Pin
Guffa4-May-08 14:12
Guffa4-May-08 14:12 
GeneralRe: compile time error or runtime error? Pin
#realJSOP5-May-08 2:49
mve#realJSOP5-May-08 2:49 
GeneralRe: compile time error or runtime error? Pin
Guffa5-May-08 10:30
Guffa5-May-08 10:30 
GeneralRe: compile time error or runtime error? Pin
George_George4-May-08 18:55
George_George4-May-08 18:55 
GeneralRe: compile time error or runtime error? Pin
Guffa4-May-08 23:28
Guffa4-May-08 23:28 
GeneralRe: compile time error or runtime error? Pin
George_George7-May-08 1:27
George_George7-May-08 1:27 
AnswerRe: compile time error or runtime error? Pin
Daniel Grunwald4-May-08 4:31
Daniel Grunwald4-May-08 4:31 
GeneralRe: compile time error or runtime error? Pin
George_George4-May-08 4:36
George_George4-May-08 4:36 
GeneralRe: compile time error or runtime error? Pin
Daniel Grunwald4-May-08 4:56
Daniel Grunwald4-May-08 4:56 
GeneralRe: compile time error or runtime error? Pin
George_George4-May-08 18:33
George_George4-May-08 18:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.