Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
QuestionRe: regarding xml serialization Pin
ksrs5-Jun-07 7:47
ksrs5-Jun-07 7:47 
AnswerRe: regarding xml serialization Pin
Giorgi Dalakishvili5-Jun-07 8:01
mentorGiorgi Dalakishvili5-Jun-07 8:01 
GeneralRe: regarding xml serialization Pin
ksrs5-Jun-07 8:11
ksrs5-Jun-07 8:11 
AnswerDon't Repost Pin
Sathesh Sakthivel5-Jun-07 15:26
Sathesh Sakthivel5-Jun-07 15:26 
QuestionMath/Algebra library: parsing and proccessing functions Pin
Maverickx895-Jun-07 5:51
Maverickx895-Jun-07 5:51 
AnswerRe: Math/Algebra library: parsing and proccessing functions Pin
originSH5-Jun-07 6:08
originSH5-Jun-07 6:08 
GeneralRe: Math/Algebra library: parsing and proccessing functions Pin
Maverickx895-Jun-07 6:36
Maverickx895-Jun-07 6:36 
QuestionSetting a variable value from an array. Pin
jblouir5-Jun-07 5:42
jblouir5-Jun-07 5:42 
I am currently writing a text adventure in c#.

What I have is a 3 by 3 array with 0's and 1's in a specific order.

010
111
010

Basically anywhere theres a 1, thats a valid location for the person to move to.

What I need is a way to pull the value out of an array position say array[1,1]

This isnt all the code but you get the picture.

int intWall = 0;

intWall = arrWall[x,y];


if (intWall == 0)
{
Console.WriteLine("You can't move that way.");
}

// I need some way of putting the value of the x,y spot in the array to the variable

AnswerRe: Setting a variable value from an array. Pin
Giorgi Dalakishvili5-Jun-07 5:56
mentorGiorgi Dalakishvili5-Jun-07 5:56 
GeneralRe: Setting a variable value from an array. Pin
jblouir5-Jun-07 6:21
jblouir5-Jun-07 6:21 
AnswerRe: Setting a variable value from an array. Pin
Hesham Yassin6-Jun-07 8:06
Hesham Yassin6-Jun-07 8:06 
QuestionApplication is closing when i hide it...! Pin
Affan Toor5-Jun-07 5:37
Affan Toor5-Jun-07 5:37 
AnswerRe: Application is closing when i hide it...! Pin
blakey4045-Jun-07 5:50
blakey4045-Jun-07 5:50 
AnswerRe: Application is closing when i hide it...! Pin
Luc Pattyn5-Jun-07 6:06
sitebuilderLuc Pattyn5-Jun-07 6:06 
GeneralRe: Application is closing when i hide it...! Pin
Affan Toor5-Jun-07 6:23
Affan Toor5-Jun-07 6:23 
GeneralRe: Application is closing when i hide it...! Pin
Ian Shlasko5-Jun-07 7:06
Ian Shlasko5-Jun-07 7:06 
GeneralRe: Application is closing when i hide it...! Pin
Luc Pattyn5-Jun-07 7:44
sitebuilderLuc Pattyn5-Jun-07 7:44 
GeneralRe: Application is closing when i hide it...! Pin
Affan Toor6-Jun-07 2:03
Affan Toor6-Jun-07 2:03 
QuestionReagrding Xml serialization Pin
ksrs5-Jun-07 5:10
ksrs5-Jun-07 5:10 
AnswerRe: Reagrding Xml serialization Pin
Giorgi Dalakishvili5-Jun-07 5:40
mentorGiorgi Dalakishvili5-Jun-07 5:40 
QuestionRe: Reagrding Xml serialization Pin
ksrs5-Jun-07 6:45
ksrs5-Jun-07 6:45 
Questionvc++ to c# .NET Pin
Kabirdas Jaunjare5-Jun-07 5:05
Kabirdas Jaunjare5-Jun-07 5:05 
AnswerRe: vc++ to c# .NET Pin
originSH5-Jun-07 5:35
originSH5-Jun-07 5:35 
QuestionNewbie trying very hard not to pull my hair out!!! Pin
allan.gagnon5-Jun-07 4:59
allan.gagnon5-Jun-07 4:59 
AnswerRe: Newbie trying very hard not to pull my hair out!!! Pin
kubben5-Jun-07 5:36
kubben5-Jun-07 5:36 

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.