Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: Collection explicit conversion operator recommendation Pin
Luc Pattyn26-Aug-10 12:45
sitebuilderLuc Pattyn26-Aug-10 12:45 
GeneralRe: Collection explicit conversion operator recommendation Pin
DaveyM6926-Aug-10 13:05
professionalDaveyM6926-Aug-10 13:05 
GeneralRe: Collection explicit conversion operator recommendation Pin
Luc Pattyn26-Aug-10 13:10
sitebuilderLuc Pattyn26-Aug-10 13:10 
AnswerSolved: Collection explicit conversion operator recommendation Pin
DaveyM6926-Aug-10 13:03
professionalDaveyM6926-Aug-10 13:03 
QuestionSOLVED: Hide subitem in standard listview [modified] Pin
Marcel Vreuls (www.agentbase.nl)26-Aug-10 11:48
Marcel Vreuls (www.agentbase.nl)26-Aug-10 11:48 
AnswerMessage Closed Pin
26-Aug-10 20:37
stancrm26-Aug-10 20:37 
GeneralRe: Hide subitem in standard listview Pin
Marcel Vreuls (www.agentbase.nl)27-Aug-10 0:19
Marcel Vreuls (www.agentbase.nl)27-Aug-10 0:19 
QuestionHow to get url from browser to C# application Pin
Saint_pl26-Aug-10 11:14
Saint_pl26-Aug-10 11:14 
AnswerRe: How to get url from browser to C# application Pin
Luc Pattyn26-Aug-10 13:41
sitebuilderLuc Pattyn26-Aug-10 13:41 
AnswerRe: How to get url from browser to C# application Pin
Saint_pl26-Aug-10 13:51
Saint_pl26-Aug-10 13:51 
GeneralRe: How to get url from browser to C# application Pin
#realJSOP27-Aug-10 2:21
mve#realJSOP27-Aug-10 2:21 
AnswerRe: How to get url from browser to C# application [modified] Pin
Saint_pl27-Aug-10 5:27
Saint_pl27-Aug-10 5:27 
Questionwebspider/crawler extract Javascript related info Pin
michael_jhons26-Aug-10 9:39
michael_jhons26-Aug-10 9:39 
AnswerRe: webspider/crawler extract Javascript related info Pin
Ennis Ray Lynch, Jr.26-Aug-10 10:05
Ennis Ray Lynch, Jr.26-Aug-10 10: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.