Click here to Skip to main content
15,912,897 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionSystem.Enum - not a class? Pin
Adrian Cole3-Apr-09 19:09
Adrian Cole3-Apr-09 19:09 
AnswerRe: System.Enum - not a class? Pin
Eddy Vluggen3-Apr-09 23:56
professionalEddy Vluggen3-Apr-09 23:56 
GeneralRe: System.Enum - not a class? Pin
Adrian Cole4-Apr-09 6:29
Adrian Cole4-Apr-09 6:29 
GeneralRe: System.Enum - not a class? Pin
Eddy Vluggen4-Apr-09 23:01
professionalEddy Vluggen4-Apr-09 23:01 
GeneralRe: System.Enum - not a class? Pin
dojohansen14-Apr-09 7:13
dojohansen14-Apr-09 7:13 
AnswerRe: System.Enum - not a class? Pin
PIEBALDconsult5-Apr-09 6:22
mvePIEBALDconsult5-Apr-09 6:22 
QuestionRe: System.Enum - not a class? Pin
Adrian Cole5-Apr-09 18:50
Adrian Cole5-Apr-09 18:50 
AnswerRe: System.Enum - not a class? Pin
PIEBALDconsult6-Apr-09 4:27
mvePIEBALDconsult6-Apr-09 4:27 
Adrian Cole wrote:
I'm trying to find out why, and nothing I've read so far has answered that question.


We've already answered that. All value types return false for IsClass, just as the documentation specifies; that's why.

Anyone can write a class that derives from ValueType and it will do the same thing, there just aren't that many times where you want a value type that isn't a structure. Enum is one such case because it also has to be abstract, there's no way to make an abstract structure, so they made it an abstract value type class.
GeneralRe: System.Enum - not a class? Pin
Adrian Cole6-Apr-09 8:52
Adrian Cole6-Apr-09 8:52 
QuestionProblems when reimplementing c# class to f# Pin
Ravadre3-Apr-09 11:54
Ravadre3-Apr-09 11:54 
AnswerRe: Problems when reimplementing c# class to f# Pin
Kevin McFarlane3-Apr-09 12:42
Kevin McFarlane3-Apr-09 12:42 
QuestionGeneral question about allocate memory in .NET Pin
Yanshof3-Apr-09 7:05
Yanshof3-Apr-09 7:05 
AnswerRe: General question about allocate memory in .NET Pin
Luc Pattyn3-Apr-09 7:24
sitebuilderLuc Pattyn3-Apr-09 7:24 
GeneralRe: General question about allocate memory in .NET Pin
led mike3-Apr-09 8:31
led mike3-Apr-09 8:31 
GeneralRe: General question about allocate memory in .NET Pin
Luc Pattyn3-Apr-09 8:45
sitebuilderLuc Pattyn3-Apr-09 8:45 
GeneralRe: General question about allocate memory in .NET Pin
harold aptroot3-Apr-09 13:10
harold aptroot3-Apr-09 13:10 
Generalcount save Pin
AARONDAS3-Apr-09 6:42
AARONDAS3-Apr-09 6:42 
GeneralRe: count save Pin
led mike3-Apr-09 8:33
led mike3-Apr-09 8:33 
GeneralRe: count save Pin
Luc Pattyn3-Apr-09 8:49
sitebuilderLuc Pattyn3-Apr-09 8:49 
GeneralRe: count save Pin
dojohansen9-Apr-09 5:05
dojohansen9-Apr-09 5:05 
GeneralRe: count save Pin
kumarnitesh6-Apr-09 1:19
kumarnitesh6-Apr-09 1:19 
QuestionResolving the full type name Pin
Vipul Mehta3-Apr-09 2:46
Vipul Mehta3-Apr-09 2:46 
AnswerRe: Resolving the full type name Pin
Pete O'Hanlon3-Apr-09 3:07
mvePete O'Hanlon3-Apr-09 3:07 
AnswerRe: Resolving the full type name Pin
Vipul Mehta3-Apr-09 3:37
Vipul Mehta3-Apr-09 3:37 
QuestionIdea behind Chinese PinYin in c# Pin
dhanaid3-Apr-09 1:56
dhanaid3-Apr-09 1:56 

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.