Click here to Skip to main content
15,894,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: Detect certain substrings multiple times? [modified] Pin
Malcolm Smart2-Aug-07 23:42
Malcolm Smart2-Aug-07 23:42 
GeneralRe: Detect certain substrings multiple times? Pin
Martin#2-Aug-07 23:48
Martin#2-Aug-07 23:48 
GeneralRe: Detect certain substrings multiple times? Pin
Malcolm Smart2-Aug-07 23:54
Malcolm Smart2-Aug-07 23:54 
GeneralRe: Detect certain substrings multiple times? Pin
Martin#3-Aug-07 0:08
Martin#3-Aug-07 0:08 
GeneralRe: Detect certain substrings multiple times? Pin
Malcolm Smart3-Aug-07 0:25
Malcolm Smart3-Aug-07 0:25 
GeneralRe: Detect certain substrings multiple times? Pin
Martin#3-Aug-07 0:29
Martin#3-Aug-07 0:29 
QuestionWhat would be logic?interesting (Visual Studio C# .Net) Pin
zeeShan anSari2-Aug-07 22:06
zeeShan anSari2-Aug-07 22:06 
AnswerRe: What would be logic?interesting (Visual Studio C# .Net) Pin
Martin#2-Aug-07 22:44
Martin#2-Aug-07 22:44 
Hello,

I'm allways using [][] instead of [,], so my example looks like this:
//Start: fill array
int[][] array = new int[5][];
for(int x=0;x<5;x++)
{
	array[x] = new int[5];
}
 
for(int y = 0; y<array.Length; y++)
{
	int[] actArray = array[y];
	for(int x = 1; x<= actArray.Length; x++)
	{
		actArray[x-1] = x;
	}
}
//End: fill array
  
//Start: your task
for(int x=1;x<5;x=x+2)
{
	int[] actArray = new int[array[x].Length];
        array[x].CopyTo(actArray,0);
	for(int y = 0; y< array.Length; y++)
	{
		array[x][y] = actArray[array.Length-1-y];
	}
}
//End: your task


All the best,

Martin

GeneralRe: What would be logic?interesting (Visual Studio C# .Net) Pin
zeeShan anSari2-Aug-07 23:01
zeeShan anSari2-Aug-07 23:01 
GeneralRe: What would be logic?interesting (Visual Studio C# .Net) Pin
Martin#2-Aug-07 23:03
Martin#2-Aug-07 23:03 
GeneralRe: What would be logic?interesting (Visual Studio C# .Net) Pin
zeeShan anSari3-Aug-07 0:11
zeeShan anSari3-Aug-07 0:11 
GeneralRe: What would be logic?interesting (Visual Studio C# .Net) Pin
Martin#3-Aug-07 0:15
Martin#3-Aug-07 0:15 
GeneralRe: What would be logic?interesting (Visual Studio C# .Net) Pin
zeeShan anSari3-Aug-07 0:49
zeeShan anSari3-Aug-07 0:49 
AnswerRe: What would be logic?interesting (Visual Studio C# .Net) Pin
zeeShan anSari3-Aug-07 1:14
zeeShan anSari3-Aug-07 1:14 
Questioncreating a webservice problems Pin
Daniel_Logan2-Aug-07 21:44
Daniel_Logan2-Aug-07 21:44 
AnswerRe: creating a webservice problems Pin
Christian Graus2-Aug-07 21:52
protectorChristian Graus2-Aug-07 21:52 
GeneralRe: creating a webservice problems Pin
Daniel_Logan2-Aug-07 22:35
Daniel_Logan2-Aug-07 22:35 
GeneralRe: creating a webservice problems Pin
Christian Graus2-Aug-07 22:38
protectorChristian Graus2-Aug-07 22:38 
GeneralRe: creating a webservice problems Pin
Daniel_Logan2-Aug-07 23:02
Daniel_Logan2-Aug-07 23:02 
GeneralRe: creating a webservice problems Pin
Christian Graus2-Aug-07 23:09
protectorChristian Graus2-Aug-07 23:09 
GeneralRe: creating a webservice problems Pin
Daniel_Logan2-Aug-07 23:11
Daniel_Logan2-Aug-07 23:11 
GeneralRe: creating a webservice problems Pin
Christian Graus2-Aug-07 23:23
protectorChristian Graus2-Aug-07 23:23 
GeneralRe: creating a webservice problems Pin
Daniel_Logan2-Aug-07 23:46
Daniel_Logan2-Aug-07 23:46 
GeneralRe: creating a webservice problems Pin
Albu Marius3-Aug-07 0:00
Albu Marius3-Aug-07 0:00 
GeneralRe: creating a webservice problems Pin
Albu Marius3-Aug-07 0:10
Albu Marius3-Aug-07 0:10 

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.