Click here to Skip to main content
15,889,588 members
Home / Discussions / C#
   

C#

 
AnswerRe: vs.net 2010 exe on demo machine Pin
Pete O'Hanlon21-Nov-12 23:36
mvePete O'Hanlon21-Nov-12 23:36 
AnswerRe: vs.net 2010 exe on demo machine Pin
Simon_Whale21-Nov-12 23:38
Simon_Whale21-Nov-12 23:38 
GeneralRe: vs.net 2010 exe on demo machine Pin
KrishnaRayalu_Talisetti21-Nov-12 23:41
KrishnaRayalu_Talisetti21-Nov-12 23:41 
GeneralRe: vs.net 2010 exe on demo machine Pin
Simon_Whale21-Nov-12 23:46
Simon_Whale21-Nov-12 23:46 
QuestionSAP Dotnet Integration Pin
rohitnegi0921-Nov-12 21:14
rohitnegi0921-Nov-12 21:14 
AnswerRe: SAP Dotnet Integration Pin
Pete O'Hanlon21-Nov-12 22:39
mvePete O'Hanlon21-Nov-12 22:39 
AnswerRe: SAP Dotnet Integration Pin
V.21-Nov-12 23:12
professionalV.21-Nov-12 23:12 
QuestionWrite XML Dynamically according to tree structure in windows c# Pin
rummer21-Nov-12 20:19
rummer21-Nov-12 20:19 
AnswerRe: Write XML Dynamically according to tree structure in windows c# Pin
markovl21-Nov-12 20:37
markovl21-Nov-12 20:37 
AnswerRe: Write XML Dynamically according to tree structure in windows c# Pin
PIEBALDconsult22-Nov-12 10:23
mvePIEBALDconsult22-Nov-12 10:23 
QuestionUnit Test for LDAP Search Pin
SFORavi21-Nov-12 15:10
SFORavi21-Nov-12 15:10 
QuestionAutomatically Compiler Generated Unique Constants ? Pin
C-P-User-321-Nov-12 13:01
C-P-User-321-Nov-12 13:01 
AnswerRe: Automatically Compiler Generated Unique Constants ? Pin
Eddy Vluggen21-Nov-12 13:16
professionalEddy Vluggen21-Nov-12 13:16 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
C-P-User-321-Nov-12 13:34
C-P-User-321-Nov-12 13:34 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
Eddy Vluggen21-Nov-12 13:40
professionalEddy Vluggen21-Nov-12 13:40 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
C-P-User-321-Nov-12 13:52
C-P-User-321-Nov-12 13:52 
SuggestionRe: Automatically Compiler Generated Unique Constants ? Pin
Eddy Vluggen21-Nov-12 13:55
professionalEddy Vluggen21-Nov-12 13:55 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
C-P-User-321-Nov-12 14:52
C-P-User-321-Nov-12 14:52 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
C-P-User-321-Nov-12 15:03
C-P-User-321-Nov-12 15:03 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
C-P-User-321-Nov-12 15:01
C-P-User-321-Nov-12 15:01 
Hold it, wait a minute, on that msdn page, I just read this...
From the MSDN page:
Usually it is best to define an enum directly within a namespace so that all classes in the namespace can access it with equal convenience. However, an enum can also be nested within a class or struct.
I thought that every variable had to be in a class; but then these aren't variables; I guess; somebody fix my brain on this matter.

So then, if I take the enum thing (what is the right word for "thing" in this context ?) out of the class structure, and just put it after the opening bracket of the namespace, I can use the names in the enum list as they are ? Without the UniqueValue.Fred nomenclature ?

e.g., I could just use the name "Fred" (no quotes" and get a guaranteed unique value ?
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
PIEBALDconsult21-Nov-12 16:27
mvePIEBALDconsult21-Nov-12 16:27 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
Eddy Vluggen21-Nov-12 21:08
professionalEddy Vluggen21-Nov-12 21:08 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
Richard MacCutchan21-Nov-12 22:01
mveRichard MacCutchan21-Nov-12 22:01 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
C-P-User-322-Nov-12 14:22
C-P-User-322-Nov-12 14:22 
GeneralRe: Automatically Compiler Generated Unique Constants ? Pin
Richard MacCutchan22-Nov-12 23:24
mveRichard MacCutchan22-Nov-12 23:24 

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.