Click here to Skip to main content
15,927,914 members
Home / Discussions / C#
   

C#

 
GeneralRe: C++ to C# (struct) [not an answer] Pin
Mohammad Dayyan27-May-09 14:00
Mohammad Dayyan27-May-09 14:00 
GeneralRe: C++ to C# (struct) [not an answer] Pin
Colin Angus Mackay27-May-09 20:50
Colin Angus Mackay27-May-09 20:50 
AnswerRe: C++ to C# (struct) Pin
Adam Maras27-May-09 14:53
Adam Maras27-May-09 14:53 
AnswerRe: C++ to C# (struct) Pin
Jimmanuel27-May-09 14:54
Jimmanuel27-May-09 14:54 
QuestionThis is a performance issue: Struct vs. Class. Pin
Lecutus127-May-09 10:03
Lecutus127-May-09 10:03 
AnswerRe: This is a performance issue: Struct vs. Class. Pin
DaveyM6927-May-09 10:13
professionalDaveyM6927-May-09 10:13 
AnswerRe: This is a performance issue: Struct vs. Class. Pin
PIEBALDconsult27-May-09 10:20
mvePIEBALDconsult27-May-09 10:20 
AnswerRe: This is a performance issue: Struct vs. Class. Pin
harold aptroot27-May-09 10:22
harold aptroot27-May-09 10:22 
If you are concerned about performance you shouldn't use strings for things such as IP addresses..
You can safely change it to a struct, but as you know it will pass by value, and it's big - so don't pass it.
Just change "class" to "struct" and you're done.

BUT, the struct vs class thing isn't likely to be the problem here (it occasionally pops up when dealing with several millions of instances of some type). I'd advice you to get a good profiler (such as ANTS from Red Gate) and look at what is really slowing it down.



AnswerRe: This is a performance issue: Struct vs. Class. Pin
Luc Pattyn27-May-09 10:39
sitebuilderLuc Pattyn27-May-09 10:39 
AnswerRe: This is a performance issue: Struct vs. Class. Pin
Lecutus127-May-09 10:50
Lecutus127-May-09 10:50 
GeneralRe: This is a performance issue: Struct vs. Class. Pin
Luc Pattyn27-May-09 10:54
sitebuilderLuc Pattyn27-May-09 10:54 
QuestionHow to use cut function with selected tab of tabcontrol Pin
Aljaz11127-May-09 9:06
Aljaz11127-May-09 9:06 
AnswerRe: How to use cut function with selected tab of tabcontrol Pin
0x3c027-May-09 9:26
0x3c027-May-09 9:26 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
Aljaz11127-May-09 9:32
Aljaz11127-May-09 9:32 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
0x3c027-May-09 9:46
0x3c027-May-09 9:46 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
Troy Russell27-May-09 9:59
Troy Russell27-May-09 9:59 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
EliottA27-May-09 9:46
EliottA27-May-09 9:46 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
Aljaz11127-May-09 9:52
Aljaz11127-May-09 9:52 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
0x3c027-May-09 10:50
0x3c027-May-09 10:50 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
Aljaz11127-May-09 12:01
Aljaz11127-May-09 12:01 
GeneralRe: How to use cut function with selected tab of tabcontrol Pin
0x3c027-May-09 22:47
0x3c027-May-09 22:47 
Questionhow to wrapping software Pin
Demasoni27-May-09 8:42
Demasoni27-May-09 8:42 
AnswerRe: how to wrapping software Pin
DaveyM6927-May-09 10:20
professionalDaveyM6927-May-09 10:20 
AnswerRe: how to wrapping software Pin
Rajdeep.NET is BACK27-May-09 20:22
Rajdeep.NET is BACK27-May-09 20:22 
Questionhow to get the mouse clicked location?? Pin
Hema Bairavan27-May-09 5:07
Hema Bairavan27-May-09 5:07 

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.