That is... beautiful...
Type: Posts; User: DanFraser
That is... beautiful...
I completely forgot about reverse. But I was typing the lot on an iPhone!
You can just use string.split to break it up, then with that array just reverse populate.
private string ReverseString(string input)
{
List<string> list1 = new List<string>(input.Split('...
You missed out the most important case:
switch
user inserted new contact
add new contact
user deleted contact
delete contact
user modified contact
Also forgot to mention that command windows under normal conditions don't have the "press any key ... " at the end. Dead easy to add.
Console.WriteLine();
Console.Write("Press any key to...
Have you checked the test.txt file? The command window can go astonishingly fast sometimes. Maybe try adding a DateTime.Now.ToString() to the writeline just to check.
Isn't outbuffer[2] supposed to take intbytes?
Simple, one of the arrays is not as long as the other one.
Yup, "please pass my coursework and exams for me".
It will be a course code at a university (college in the US).
You also copied and pasted the exact same question on to what seems like 5-7 other programming forums.
Have fun cheating your way...
What's the result of "count" at the end?
For starters, forget about ArrayList, it's so old it's unreal. Use a generic list for string. The for loop would still be the same but all you would change is
// ArrayList name = new...
Each object has the text contained in a property, iterate.
Is the combobox dropdownlist?
Nice quick easy way is build your own buffer.
Soeverythingshouldbelikethiswhenyoucodec#then?Thehumanmindismuchmorecapableofunderstandingcompressedinformationinhumanformthanmostcomputersarecapableofmanaging.Thisistheunderlyingreasonwhywhitespaceis...
Think of white space in code the same as paragraphs not being in walls of text.
You can easily put both if condition statements in the same if. Surround both by brackets and use || as an or.
Other than that I don't actually see what is going wrong. Do you get an error? Do...
Without knowing what the code is for, the only issue I see is you have an if statement that does the exact same thing when true or false.
Doing this on an iPhone is not easy as I thought... Excuse the case and any rough typos...
Dictionary<string, string> listA = new dictionary<string, string>();
Dictionary<string, int> listB...
woah. foreach a keyvaluepair instead of all that.
Can't properly remember, not at my computer. But use those classes in your project. Then you can use inheritance to expand the individual functionality.
unsafebitmap ub = new...
The better way is to not use the C# way. It's awfully slow.
ImageFast: A stand-alone library for quickly loading GDI+ images without validation. - Justin Rogers
After loading it you can then...
Well, you're looking for one number out of 899 with that if statement along with the random number generator.
Woah, for one, you have an infinite loop. Yes you might want it to repeat but you should always have an easy exit option other than the three finger salute.
Next you should modify the routine to...