Click here to Skip to main content
15,915,057 members
Home / Discussions / C#
   

C#

 
GeneralRe: List all the open ports Pin
OriginalGriff8-Aug-12 0:18
mveOriginalGriff8-Aug-12 0:18 
AnswerRe: List all the open ports Pin
Pete O'Hanlon8-Aug-12 1:46
mvePete O'Hanlon8-Aug-12 1:46 
AnswerRe: List all the open ports Pin
jschell10-Aug-12 12:31
jschell10-Aug-12 12:31 
Generala better way to make, and populate, a List<Type> ? Pin
BillWoodruff7-Aug-12 16:34
professionalBillWoodruff7-Aug-12 16:34 
GeneralRe: a better way to make, and populate, a List<Type> ? Pin
PIEBALDconsult7-Aug-12 16:54
mvePIEBALDconsult7-Aug-12 16:54 
GeneralRe: a better way to make, and populate, a List ? Pin
BillWoodruff7-Aug-12 18:06
professionalBillWoodruff7-Aug-12 18:06 
GeneralRe: a better way to make, and populate, a List ? Pin
BillWoodruff9-Aug-12 8:35
professionalBillWoodruff9-Aug-12 8:35 
GeneralRe: a better way to make, and populate, a List ? Pin
PIEBALDconsult9-Aug-12 12:16
mvePIEBALDconsult9-Aug-12 12:16 
Thanks.


BillWoodruff wrote:
neither mentioned the use of a Hashset


Perhaps not, but if all you want to do is check for the existence of an item in a set, HashSet is "better" and a List.


BillWoodruff wrote:
over-engineered

BillWoodruff wrote:
problems I deal with


Most likely. In many cases they're not worth the overhead. Basically it depends on the duration of the application and the number of times the structure is accessed. Many apps (Web apps?) run for only a very short period and access such a structure once then stop. But I work on a lot of Windows Services that run 24/7 for months or years and can access the structure a great many times in rapid succession, so I feel it's worthwhile.


BillWoodruff wrote:
the code I showed you will not build as written


FTFY. Everything can be fully-specified -- using directives are a matter of convenience.



BillWoodruff wrote:
five out of seven "platinums,"


Hey, don't forget the MVP award! Big Grin | :-D I suspect I'm why they changed over to the new reputation system. Sigh | :sigh:
GeneralRe: a better way to make, and populate, a List ? Pin
SledgeHammer017-Aug-12 18:58
SledgeHammer017-Aug-12 18:58 
GeneralRe: a better way to make, and populate, a List ? Pin
PIEBALDconsult8-Aug-12 3:32
mvePIEBALDconsult8-Aug-12 3:32 
GeneralRe: a better way to make, and populate, a List ? Pin
DaveyM698-Aug-12 23:10
professionalDaveyM698-Aug-12 23:10 
GeneralRe: a better way to make, and populate, a List ? Pin
Pete O'Hanlon9-Aug-12 0:51
mvePete O'Hanlon9-Aug-12 0:51 
QuestionGet Variable Type from String Pin
eddieangel7-Aug-12 11:16
eddieangel7-Aug-12 11:16 
GeneralRe: Get Variable Type from String Pin
PIEBALDconsult7-Aug-12 13:18
mvePIEBALDconsult7-Aug-12 13:18 
GeneralRe: Get Variable Type from String Pin
BillWoodruff7-Aug-12 16:38
professionalBillWoodruff7-Aug-12 16:38 
GeneralRe: Get Variable Type from String Pin
SledgeHammer017-Aug-12 18:55
SledgeHammer017-Aug-12 18:55 
GeneralRe: Get Variable Type from String Pin
SledgeHammer017-Aug-12 18:52
SledgeHammer017-Aug-12 18:52 
GeneralRe: Get Variable Type from String Pin
PIEBALDconsult8-Aug-12 3:46
mvePIEBALDconsult8-Aug-12 3:46 
AnswerRe: Get Variable Type from String Pin
Shameel8-Aug-12 4:49
professionalShameel8-Aug-12 4:49 
GeneralRe: Get Variable Type from String Pin
SledgeHammer018-Aug-12 7:39
SledgeHammer018-Aug-12 7:39 
GeneralRe: Get Variable Type from String Pin
eddieangel8-Aug-12 6:01
eddieangel8-Aug-12 6:01 
GeneralRe: Get Variable Type from String Pin
eddieangel8-Aug-12 6:23
eddieangel8-Aug-12 6:23 
GeneralRe: Get Variable Type from String Pin
SledgeHammer018-Aug-12 7:44
SledgeHammer018-Aug-12 7:44 
GeneralRe: Get Variable Type from String Pin
eddieangel8-Aug-12 8:54
eddieangel8-Aug-12 8:54 
GeneralRe: Get Variable Type from String Pin
Pete O'Hanlon8-Aug-12 9:27
mvePete O'Hanlon8-Aug-12 9:27 

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.