Click here to Skip to main content
15,902,112 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# Squrid My Program Up Pin
T M Gray27-Aug-10 4:32
T M Gray27-Aug-10 4:32 
GeneralRe: C# Squrid My Program Up Pin
Chris Trelawny-Ross27-Aug-10 5:53
Chris Trelawny-Ross27-Aug-10 5:53 
AnswerRe: C# Squrid My Program Up Pin
The Man from U.N.C.L.E.27-Aug-10 6:17
The Man from U.N.C.L.E.27-Aug-10 6:17 
AnswerRe: C# Squrid My Program Up Pin
Paul Michalik27-Aug-10 23:01
Paul Michalik27-Aug-10 23:01 
QuestionHow to create Microsoft Excel 2007 add-in in C#2010 Pin
soe htet26-Aug-10 22:32
soe htet26-Aug-10 22:32 
AnswerRe: How to create Microsoft Excel 2007 add-in in C#2010 Pin
Łukasz Nowakowski27-Aug-10 0:32
Łukasz Nowakowski27-Aug-10 0:32 
Questionvideo chat Pin
sardar.nale26-Aug-10 22:09
sardar.nale26-Aug-10 22:09 
AnswerRe: video chat Pin
Pete O'Hanlon26-Aug-10 22:22
mvePete O'Hanlon26-Aug-10 22:22 
AnswerRe: video chat Pin
J4amieC26-Aug-10 22:27
J4amieC26-Aug-10 22:27 
AnswerRe: video chat Pin
Pete O'Hanlon26-Aug-10 22:31
mvePete O'Hanlon26-Aug-10 22:31 
AnswerRe: video chat Pin
OriginalGriff26-Aug-10 22:32
mveOriginalGriff26-Aug-10 22:32 
AnswerRe: video chat Pin
Luc Pattyn27-Aug-10 2:10
sitebuilderLuc Pattyn27-Aug-10 2:10 
Questionthe transparency goes when the panel is invalidated Pin
prasadbuddhika26-Aug-10 21:27
prasadbuddhika26-Aug-10 21:27 
AnswerRe: the transparency goes when the panel is invalidated Pin
OriginalGriff26-Aug-10 22:07
mveOriginalGriff26-Aug-10 22:07 
GeneralRe: the transparency goes when the panel is invalidated Pin
prasadbuddhika26-Aug-10 22:22
prasadbuddhika26-Aug-10 22:22 
GeneralRe: the transparency goes when the panel is invalidated Pin
OriginalGriff26-Aug-10 22:23
mveOriginalGriff26-Aug-10 22:23 
GeneralRe: the transparency goes when the panel is invalidated Pin
prasadbuddhika26-Aug-10 22:39
prasadbuddhika26-Aug-10 22:39 
GeneralRe: the transparency goes when the panel is invalidated Pin
prasadbuddhika27-Aug-10 1:47
prasadbuddhika27-Aug-10 1:47 
QuestionSolved: Collection explicit conversion operator recommendation [modified] Pin
DaveyM6926-Aug-10 11:57
professionalDaveyM6926-Aug-10 11:57 
AnswerRe: Collection explicit conversion operator recommendation Pin
AspDotNetDev26-Aug-10 12:07
protectorAspDotNetDev26-Aug-10 12:07 
GeneralRe: Collection explicit conversion operator recommendation Pin
DaveyM6926-Aug-10 12:22
professionalDaveyM6926-Aug-10 12:22 
GeneralRe: Collection explicit conversion operator recommendation Pin
AspDotNetDev26-Aug-10 12:46
protectorAspDotNetDev26-Aug-10 12:46 
Yeah, if you're adding the operator just because you can, then I'd say there's probably not much value in doing so. If you want to provide some shorthand method so the user can get a list, you might want to provide a method, "CopyToList" or "GetList". If you are not worried about the list being readonly (i.e., the user can modify the list and it won't cause problems), then you could provide a public readonly property that returns the underlying list (perhaps call that property "InnerList").

If you do decide to go with an implicit conversion operator, I'd say it would be really unexpected for an operation as massive as a list copy to occur for a simple assignment to another reference type.

GeneralRe: Collection explicit conversion operator recommendation Pin
DaveyM6926-Aug-10 13:06
professionalDaveyM6926-Aug-10 13:06 
AnswerRe: Collection explicit conversion operator recommendation Pin
Pete O'Hanlon26-Aug-10 12:43
mvePete O'Hanlon26-Aug-10 12:43 
GeneralRe: Collection explicit conversion operator recommendation Pin
DaveyM6926-Aug-10 13:05
professionalDaveyM6926-Aug-10 13:05 

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.