View Single Post
Old 01-21-2006, 09:49 AM  
psili
Confirmed User
 
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
K then.

Done with helping this fucked up thread.

I reply with an "ASP.NET C#" answer, and you say you're working in "VB". I reply with a "VB" solution and you say you're working in "C#".

Do you know what the fuck you're doing, or am I just getting grumpy because I don't understand the question?

btw, here's the C# example:

String myString = "abc";
bool test1 = String.Compare(myString.Substring(2, 1), "c") hahahaha 0; // This is true.
myString.Substring(3, 1); // This throws ArgumentOutOfRangeException.
bool test2 = String.Compare(myString.Substring(3, 0), String.Empty) hahahaha 0; // This is true.
__________________
Your post count means nothing.
psili is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote