Click here to Skip to main content
15,922,407 members
Home / Discussions / C#
   

C#

 
GeneralRe: IPC Communication Pin
Heath Stewart16-Oct-03 9:17
protectorHeath Stewart16-Oct-03 9:17 
GeneralRe: IPC Communication Pin
vikramlinux16-Oct-03 17:47
vikramlinux16-Oct-03 17:47 
GeneralRe: IPC Communication Pin
Heath Stewart17-Oct-03 3:11
protectorHeath Stewart17-Oct-03 3:11 
GeneralRequesting a Web page. Pin
fadee15-Oct-03 18:14
fadee15-Oct-03 18:14 
GeneralRe: Requesting a Web page. Pin
Heath Stewart16-Oct-03 9:16
protectorHeath Stewart16-Oct-03 9:16 
Generalinstallating .NET CLR Pin
Norman Fung15-Oct-03 16:46
Norman Fung15-Oct-03 16:46 
GeneralRe: installating .NET CLR Pin
eggie515-Oct-03 17:17
eggie515-Oct-03 17:17 
GeneralThe Great Threading Conundrum Pin
eggie515-Oct-03 14:59
eggie515-Oct-03 14:59 
GeneralRe: The Great Threading Conundrum Pin
Wjousts15-Oct-03 15:33
Wjousts15-Oct-03 15:33 
GeneralRe: The Great Threading Conundrum Pin
eggie515-Oct-03 15:49
eggie515-Oct-03 15:49 
GeneralRe: The Great Threading Conundrum Pin
Wjousts16-Oct-03 5:03
Wjousts16-Oct-03 5:03 
Generalapi Pin
jphuphilly15-Oct-03 13:41
jphuphilly15-Oct-03 13:41 
GeneralRe: api Pin
Daniel M. Edwards15-Oct-03 13:57
Daniel M. Edwards15-Oct-03 13:57 
GeneralRe: api Pin
J. Dunlap15-Oct-03 14:10
J. Dunlap15-Oct-03 14:10 
GeneralRe: api Pin
Carlos H. Perez15-Oct-03 15:14
Carlos H. Perez15-Oct-03 15:14 
GeneralRe: api Pin
Christian Graus16-Oct-03 10:07
protectorChristian Graus16-Oct-03 10:07 
Generallistview Pin
jphuphilly15-Oct-03 13:39
jphuphilly15-Oct-03 13:39 
GeneralRe: listview Pin
Heath Stewart16-Oct-03 9:23
protectorHeath Stewart16-Oct-03 9:23 
Generalc++ vs C# Pin
totig15-Oct-03 11:30
totig15-Oct-03 11:30 
GeneralRe: c++ vs C# Pin
Christian Graus15-Oct-03 13:48
protectorChristian Graus15-Oct-03 13:48 
GeneralRe: c++ vs C# Pin
leppie16-Oct-03 8:24
leppie16-Oct-03 8:24 
GeneralRe: c++ vs C# Pin
Christian Graus16-Oct-03 10:04
protectorChristian Graus16-Oct-03 10:04 
GeneralRe: c++ vs C# Pin
Eric Gunnerson (msft)16-Oct-03 10:33
Eric Gunnerson (msft)16-Oct-03 10:33 
Generalenums suck! Pin
Alvaro Mendez15-Oct-03 9:17
Alvaro Mendez15-Oct-03 9:17 
GeneralRe: enums suck! Pin
Richard Lowe15-Oct-03 10:36
Richard Lowe15-Oct-03 10:36 
First, you *can* do bitwise ops on Enum values without casting, but you might want to mark the enum with the FlagsAttribute if you do so (which VS.NET, at least, uses in some cases).

Since enums can be defined as various at various int sizes and signed or unsigned, that implicit cast would have to follow the enum's int type or risk a lossy cast (can't cast to Int32 from Int64 without a loss of data similar with unit to int). I prefer the type safety and un-ambiguity, and if you need it, the int value is there.

R.

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.