Click here to Skip to main content
15,893,622 members
Home / Discussions / C#
   

C#

 
AnswerRe: Can C# 2005 pro edition work with windows vista home basic? Pin
Christian Graus19-Mar-09 15:58
protectorChristian Graus19-Mar-09 15:58 
QuestionAn object reference is required for the nonstatic field, method, or property 'Abrapa.Program.SendEmail(object)' Pin
abbd19-Mar-09 12:15
abbd19-Mar-09 12:15 
AnswerRe: An object reference is required for the nonstatic... Pin
Luc Pattyn19-Mar-09 12:27
sitebuilderLuc Pattyn19-Mar-09 12:27 
GeneralRe: An object reference is required for the nonstatic... Pin
abbd19-Mar-09 22:41
abbd19-Mar-09 22:41 
GeneralRe: An object reference is required for the nonstatic... Pin
Mirko198019-Mar-09 23:24
Mirko198019-Mar-09 23:24 
GeneralRe: An object reference is required for the nonstatic... Pin
abbd19-Mar-09 23:31
abbd19-Mar-09 23:31 
GeneralRe: An object reference is required for the nonstatic... Pin
Mirko198020-Mar-09 5:20
Mirko198020-Mar-09 5:20 
QuestionHow can i arrange arrays like delphi array[1].array[2] [modified] Pin
gluttonous19-Mar-09 11:24
gluttonous19-Mar-09 11:24 
I try to define records like delphi as below:

first_array:array[1..800]of record
Y1,Y2:integer;
X1,X2:integer;
harfsayisi:integer;
second_array:array[0..255]of record
Y1,Y2:integer;
X1,X2:integer;

can i define this record with c#?

for example;

public struct MyType
{
public int X;
public int Y;

}
MyType[] first_array= new MyType[80];

public MyType[] GetData
{
get
{
return first_array;
}
}
public void MyMethod()
{


first_array[0].Y = 0;
}

I can do first_array[0].Y but i also want to do first_array[0].second_array[0].Y

is it possible?

modified on Thursday, March 19, 2009 6:15 PM

AnswerRe: How can i arrange arrays like delphi array[1].array[2] Pin
Christian Graus19-Mar-09 12:51
protectorChristian Graus19-Mar-09 12:51 
GeneralRe: How can i arrange arrays like delphi array[1].array[2] Pin
gluttonous19-Mar-09 22:22
gluttonous19-Mar-09 22:22 
GeneralRe: How can i arrange arrays like delphi array[1].array[2] Pin
King Julien20-Mar-09 5:20
King Julien20-Mar-09 5:20 
QuestionReplacing method/logic in class and runtime. Pin
Member 232448319-Mar-09 9:44
Member 232448319-Mar-09 9:44 
AnswerRe: Replacing method/logic in class and runtime. Pin
Anthony Mushrow19-Mar-09 9:56
professionalAnthony Mushrow19-Mar-09 9:56 
GeneralRe: Replacing method/logic in class and runtime. Pin
Member 232448319-Mar-09 10:23
Member 232448319-Mar-09 10:23 
GeneralRe: Replacing method/logic in class and runtime. Pin
Anthony Mushrow19-Mar-09 13:40
professionalAnthony Mushrow19-Mar-09 13:40 
AnswerRe: Replacing method/logic in class and runtime. Pin
Giorgi Dalakishvili19-Mar-09 9:57
mentorGiorgi Dalakishvili19-Mar-09 9:57 
QuestionSendInput from the Windows API Pin
Steven Bostock19-Mar-09 9:43
Steven Bostock19-Mar-09 9:43 
AnswerRe: SendInput from the Windows API Pin
Luc Pattyn19-Mar-09 12:37
sitebuilderLuc Pattyn19-Mar-09 12:37 
GeneralRe: SendInput from the Windows API [modified] Pin
Steven Bostock19-Mar-09 13:34
Steven Bostock19-Mar-09 13:34 
QuestionHow do I call a real refresh of desktop icons? Pin
bbranded19-Mar-09 8:50
bbranded19-Mar-09 8:50 
AnswerRe: How do I call a real refresh of desktop icons? Pin
Alan N19-Mar-09 12:24
Alan N19-Mar-09 12:24 
GeneralRe: How do I call a real refresh of desktop icons? [modified] Pin
bbranded19-Mar-09 15:56
bbranded19-Mar-09 15:56 
GeneralRe: How do I call a real refresh of desktop icons? Pin
bbranded20-Mar-09 3:33
bbranded20-Mar-09 3:33 
GeneralRe: How do I call a real refresh of desktop icons? Pin
bbranded20-Mar-09 3:49
bbranded20-Mar-09 3:49 
AnswerRe: How do I call a real refresh of desktop icons? [modified] Pin
bbranded20-Mar-09 4:40
bbranded20-Mar-09 4:40 

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.