Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~2K People Reached
Favorite Tags

12 Posted Topics

Member Avatar for Thijk

For my code I need to change a arrayList to a string array. I did it like this [CODE] ArrayList tempList = new ArrayList(); //some code to put strings into the list stringArray = (string[])tempList.ToArray(typeof(string)); [/CODE] It's the last line I don't get. In the ToArray method you set the …

Member Avatar for antechindia
0
158
Member Avatar for samythehunk

If you go to the folder of your project in the "visual studio"-folder, in the folder bin -> debug, you'll find an executable file of your program.

Member Avatar for Pgmer
0
121
Member Avatar for IDC_Sharp

You splits the string at the dots, put both parts in a stringarray and then take the last element of the string array [CODE] string test = "yes.no"; string [] stringArray = test.Split('.'); test = stringArray[1];[/CODE]

Member Avatar for IDC_Sharp
0
74
Member Avatar for AhmedGhazey

you can use software ideas modeler [URL]http://www.softwareideas.net/[/URL]

Member Avatar for AhmedGhazey
0
106
Member Avatar for mamta_k

I think the only way to do that, is to draw over the line in the same color as the background of the window. I'm pretty sure you can't delete them. It would still be there, but not visible anymore.

Member Avatar for Thijk
0
125
Member Avatar for ToucheAmore

Try adding [CODE]Dim picShowPicture As Image[/CODE] at the beginning of you class. So just beneath [CODE]Public Class ViewerForm[/CODE]

Member Avatar for Thijk
0
142
Member Avatar for gingerfish

You can put it in a method with an array as the parameter. [CODE]static void checkArray(int[] array) { if(array[0] == array[1] && array[1]==array[9]) System.out.println("These are same elements!"); }[/CODE] Then you can check all your arrays in a loop.

Member Avatar for NormR1
0
212
Member Avatar for M!ss Takishima

I tried your code and the bye seems to work fine. what exactly is it not doing?

Member Avatar for M!ss Takishima
0
176
Member Avatar for solomon_13000

When you start counting to 0 and make it go to 9, you get 10 values. (0,1,2,3,4,5,6,7,8 and 9) If you want it to be 9, you should change your while-loop to [CODE] while(count < 9) new Bunnies(++count);[/CODE] or keep the 10 in your loop and initialize count as 1 …

Member Avatar for AnkitKumar
0
211
Member Avatar for Phil++

I think the problem is that you're not checking if you generate the same number twice of three times before you use them. I added/changed this to your code [CODE] int first, second, third; first = RandNum.Next(0, 3); do{ second = RandNum.Next(0, 3); } while (second == first); do{ third …

Member Avatar for Thijk
0
107
Member Avatar for missc

That's the default behavior of windows; it had nothing to to with your code/application. The underscores will only appear after you hit the alt key. This expains how you can change it for windows 7 [url]http://twigstechtips.blogspot.com/2009/08/windows-7-restore-menu-underline.html[/url] And i'm sure you can change it on other versions as well. But if …

Member Avatar for missc
0
88
Member Avatar for bia

You can use [CODE]string binary = Convert.ToString(int digit, 2);[/CODE] You can also use it to convert to octagonal and hexadecimal by changing the 2 to 8 or 16, respectively.

Member Avatar for abelLazm
0
81

The End.