Click here to Skip to main content
15,898,010 members
Home / Discussions / C#
   

C#

 
AnswerRe: zipping and unzipping Pin
MrEyes13-Jan-06 2:07
MrEyes13-Jan-06 2:07 
Questionfor pliu_2000 Pin
Sasuko12-Jan-06 23:54
Sasuko12-Jan-06 23:54 
QuestionMarshalling char** Pin
ceno12-Jan-06 23:34
ceno12-Jan-06 23:34 
QuestionPrintPreviewDialog question Pin
Stanciu Vlad12-Jan-06 22:44
Stanciu Vlad12-Jan-06 22:44 
QuestionFile Access over a UNC Pin
exhaulted12-Jan-06 22:09
exhaulted12-Jan-06 22:09 
Questionhow to impove efficiency by using BULK INSERT statement? Pin
CooperWu12-Jan-06 21:20
CooperWu12-Jan-06 21:20 
AnswerRe: how to impove efficiency by using BULK INSERT statement? Pin
CooperWu19-Jan-06 18:33
CooperWu19-Jan-06 18:33 
QuestionHow could I make a Name attribute a primary key? Pin
MBursill12-Jan-06 20:59
MBursill12-Jan-06 20:59 
I have a simple class in which I will be making several objects from. Similar to WinForm controls I want to utilize some form of String attribute called Name to identify each object uniquely. Is there an easy way to have the maintaining of the list of names automatically handled?

If there isn’t, I’m thinking of building a name manager system. Essentially just a factory pattern which accepts names (a String) and returns objects based on this. If the user tries to set the name to an object already in use, the factory wouldn’t return null, therefore the system disallows it. I’m curious to know if and how generics can play a part in making this work better. In other words, with generics would it be possible to build the factory to know that the name attribute was used on class ABC and therefore always return type ABC?

-Mike.
AnswerRe: How could I make a Name attribute a primary key? Pin
Guffa12-Jan-06 21:48
Guffa12-Jan-06 21:48 
Questionprob of Janus controls Pin
amalatsliit12-Jan-06 20:15
amalatsliit12-Jan-06 20:15 
QuestionWeb services Pin
LeetranAus12-Jan-06 20:00
LeetranAus12-Jan-06 20:00 
QuestionConstructors & Destructors? Pin
moazzamahmed12-Jan-06 19:46
moazzamahmed12-Jan-06 19:46 
AnswerRe: Constructors & Destructors? Pin
Guffa12-Jan-06 21:08
Guffa12-Jan-06 21:08 
GeneralRe: Constructors & Destructors? Pin
moazzamahmed13-Jan-06 7:06
moazzamahmed13-Jan-06 7:06 
GeneralRe: Constructors & Destructors? Pin
Dan Neely13-Jan-06 8:09
Dan Neely13-Jan-06 8:09 
AnswerRe: Constructors & Destructors? Pin
Guffa15-Jan-06 23:00
Guffa15-Jan-06 23:00 
QuestionDot Net Deployment Pin
chudapji12-Jan-06 18:34
chudapji12-Jan-06 18:34 
AnswerRe: Dot Net Deployment Pin
mav.northwind12-Jan-06 20:30
mav.northwind12-Jan-06 20:30 
GeneralRe: Dot Net Deployment Pin
chudapji13-Jan-06 0:51
chudapji13-Jan-06 0:51 
QuestionShow menu from form other than MDI form? Pin
MudkiSekhon12-Jan-06 18:19
MudkiSekhon12-Jan-06 18:19 
AnswerRe: Show menu from form other than MDI form? Pin
Luis Alonso Ramos12-Jan-06 18:24
Luis Alonso Ramos12-Jan-06 18:24 
GeneralRe: Show menu from form other than MDI form? Pin
MudkiSekhon12-Jan-06 18:31
MudkiSekhon12-Jan-06 18:31 
GeneralRe: Show menu from form other than MDI form? Pin
Luis Alonso Ramos12-Jan-06 18:37
Luis Alonso Ramos12-Jan-06 18:37 
GeneralRe: Show menu from form other than MDI form? Pin
MudkiSekhon12-Jan-06 19:04
MudkiSekhon12-Jan-06 19:04 
GeneralRe: Show menu from form other than MDI form? Pin
Luis Alonso Ramos13-Jan-06 5:20
Luis Alonso Ramos13-Jan-06 5:20 

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.