Click here to Skip to main content
15,911,711 members
Home / Discussions / C#
   

C#

 
AnswerRe: Thread creation using reflection for the target? Pin
Ian Shlasko1-May-07 10:21
Ian Shlasko1-May-07 10:21 
GeneralRe: Thread creation using reflection for the target? Pin
LongRange.Shooter1-May-07 10:58
LongRange.Shooter1-May-07 10:58 
AnswerRe: Thread creation using reflection for the target? Pin
PIEBALDconsult1-May-07 18:26
mvePIEBALDconsult1-May-07 18:26 
QuestionC# Remote Window Hooks Pin
Bourtree1-May-07 9:40
Bourtree1-May-07 9:40 
AnswerRe: C# Remote Window Hooks Pin
LongRange.Shooter1-May-07 11:58
LongRange.Shooter1-May-07 11:58 
GeneralRe: C# Remote Window Hooks Pin
Bourtree3-May-07 6:51
Bourtree3-May-07 6:51 
GeneralRe: C# Remote Window Hooks Pin
LongRange.Shooter3-May-07 14:56
LongRange.Shooter3-May-07 14:56 
Questionarray of reference type in heap Pin
swjam1-May-07 8:59
swjam1-May-07 8:59 
AnswerRe: array of reference type in heap Pin
Ian Shlasko1-May-07 9:13
Ian Shlasko1-May-07 9:13 
AnswerRe: array of reference type in heap Pin
kubben1-May-07 9:14
kubben1-May-07 9:14 
GeneralRe: array of reference type in heap Pin
Ian Shlasko1-May-07 9:19
Ian Shlasko1-May-07 9:19 
GeneralRe: array of reference type in heap Pin
kubben1-May-07 9:22
kubben1-May-07 9:22 
Right, the code should be:
copy[i] = new Triangle();
copy[i].property1 = triangles[i].property1;
copy[i].property2 = triangles[i].property2;
copy[i].property3 = triangles[i].property3;
...

for as many properties that exist.

If you implement a Triangle.Clone() then you could just do
copy[i] = triangle[i].Clone();


Ben
AnswerRe: array of reference type in heap Pin
LongRange.Shooter1-May-07 9:50
LongRange.Shooter1-May-07 9:50 
AnswerRe: array of reference type in heap Pin
Guffa1-May-07 9:52
Guffa1-May-07 9:52 
QuestionProblme passing Double Quotes (") to query Pin
Muhammad Nauman Yousuf1-May-07 6:54
Muhammad Nauman Yousuf1-May-07 6:54 
AnswerRe: Problme passing Double Quotes (") to query Pin
kubben1-May-07 7:15
kubben1-May-07 7:15 
GeneralRe: Problme passing Double Quotes (") to query Pin
Muhammad Nauman Yousuf1-May-07 7:53
Muhammad Nauman Yousuf1-May-07 7:53 
GeneralRe: Problme passing Double Quotes (") to query Pin
kubben1-May-07 7:59
kubben1-May-07 7:59 
AnswerRe: Problme passing Double Quotes (") to query Pin
Ian Shlasko1-May-07 8:05
Ian Shlasko1-May-07 8:05 
GeneralRe: Problme passing Double Quotes (") to query Pin
kubben1-May-07 8:10
kubben1-May-07 8:10 
AnswerRe: Problme passing Double Quotes (") to query Pin
Ian Shlasko1-May-07 8:20
Ian Shlasko1-May-07 8:20 
GeneralRe: Problme passing Double Quotes (") to query Pin
kubben1-May-07 8:30
kubben1-May-07 8:30 
GeneralRe: Problme passing Double Quotes (") to query Pin
Ian Shlasko1-May-07 8:48
Ian Shlasko1-May-07 8:48 
GeneralRe: Problme passing Double Quotes (") to query Pin
kubben1-May-07 8:49
kubben1-May-07 8:49 
GeneralRe: Problme passing Double Quotes (") to query Pin
Muhammad Nauman Yousuf1-May-07 8:51
Muhammad Nauman Yousuf1-May-07 8:51 

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.