Click here to Skip to main content
11,410,750 members (61,784 online)
   

C#

 
AnswerRe: SAP Dotnet Integration PinmemberV.22-Nov-12 0:12 
QuestionWrite XML Dynamically according to tree structure in windows c# Pinmemberrummer21-Nov-12 21:19 
AnswerRe: Write XML Dynamically according to tree structure in windows c# Pinmembermarkovl21-Nov-12 21:37 
AnswerRe: Write XML Dynamically according to tree structure in windows c# PinmemberPIEBALDconsult22-Nov-12 11:23 
QuestionUnit Test for LDAP Search PinmemberSFORavi21-Nov-12 16:10 
QuestionAutomatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 14:01 
AnswerRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 14:16 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 14:34 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 14:40 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 14:52 
SuggestionRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 14:55 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 15:52 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 16:03 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-321-Nov-12 16: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 ? PinmemberPIEBALDconsult21-Nov-12 17:27 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberEddy Vluggen21-Nov-12 22:08 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmvpRichard MacCutchan21-Nov-12 23:01 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-322-Nov-12 15:22 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmvpRichard MacCutchan23-Nov-12 0:24 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberBobJanova23-Nov-12 0:29 
GeneralRe: Automatically Compiler Generated Unique Constants ? PinmemberC-P-User-323-Nov-12 5:43 
QuestionDataGridView doesn't appear on screen [modified] PinmemberRickSharp21-Nov-12 13:44 
AnswerRe: DataGridView doesn't appear on screen PinmemberEddy Vluggen21-Nov-12 14:17 
GeneralRe: DataGridView doesn't appear on screen PinmemberRickSharp21-Nov-12 14:27 
GeneralRe: DataGridView doesn't appear on screen PinmemberEddy Vluggen21-Nov-12 14:42 
QuestionTextbox help! PinmemberKurac121-Nov-12 12:18 
AnswerRe: Textbox help! PinmemberMycroft Holmes21-Nov-12 13:01 
QuestionSpecialized List Sorting question PinmemberNuclearMan8521-Nov-12 8:12 
AnswerRe: Specialized List Sorting question [modified] PinmemberRichard Deeming21-Nov-12 9:03 
AnswerRe: Specialized List Sorting question PinmemberSledgeHammer0121-Nov-12 9:06 
AnswerRe: Specialized List Sorting question PinmemberRichard Deeming21-Nov-12 9:32 
AnswerRe: Specialized List Sorting question [modified] PinmemberPIEBALDconsult21-Nov-12 9:57 
AnswerRe: Specialized List Sorting question PinmemberBobJanova21-Nov-12 23:50 
QuestionWinForms Class Design PinmemberMember 961929521-Nov-12 7:43 
AnswerRe: WinForms Class Design PinmvpRichard MacCutchan21-Nov-12 8:15 
GeneralRe: WinForms Class Design PinmemberMatt U.21-Nov-12 9:16 
GeneralRe: WinForms Class Design PinmvpRichard MacCutchan21-Nov-12 9:56 
GeneralRe: WinForms Class Design PinmemberMatt U.21-Nov-12 9:59 
GeneralRe: WinForms Class Design PinmvpRichard MacCutchan21-Nov-12 10:06 
GeneralRe: WinForms Class Design PinmemberMatt U.21-Nov-12 10:21 
GeneralRe: WinForms Class Design PinmemberPIEBALDconsult21-Nov-12 11:27 
AnswerRe: WinForms Class Design PinmemberPIEBALDconsult21-Nov-12 10:07 
QuestionUplaod Article To Codeproject PingroupkatlegoEmmnanuelNkosi21-Nov-12 4:44 
AnswerRe: Uplaod Article To Codeproject PinmemberPIEBALDconsult21-Nov-12 4:48 
AnswerRe: Uplaod Article To Codeproject PinmvpRichard MacCutchan21-Nov-12 5:34 
QuestionPrint Crystal Report in c# Using Access Database? Pinmemberkashifjaat21-Nov-12 3:09 
QuestionGenerate Morse Code Sound Pinmemberlong dao21-Nov-12 2:24 
AnswerRe: Generate Morse Code Sound PinprotectorPete O'Hanlon21-Nov-12 2:45 
GeneralRe: Generate Morse Code Sound Pinmemberlong dao21-Nov-12 2:54 
GeneralRe: Generate Morse Code Sound PinprotectorPete O'Hanlon21-Nov-12 3:05 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.150414.5 | Last Updated 25 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid