Click here to Skip to main content
13,287,658 members (47,396 online)

Welcome to the Lounge

   

For discussing anything related to a software developer's life. Technical discussions are encouraged, but click here to ask your programming questions.

The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct, no programming questions and please don't post ads.
 
GeneralRe: XKCDOTD Pin
Keith Barrow11-Aug-14 9:20
mentorKeith Barrow11-Aug-14 9:20 
GeneralRe: XKCDOTD Pin
PIEBALDconsult11-Aug-14 9:40
memberPIEBALDconsult11-Aug-14 9:40 
JokeRe: XKCDOTD Pin
Rajesh_Francis11-Aug-14 3:10
professionalRajesh_Francis11-Aug-14 3:10 
GeneralRe: XKCDOTD Pin
OriginalGriff11-Aug-14 3:24
protectorOriginalGriff11-Aug-14 3:24 
GeneralRe: XKCDOTD Pin
Brady Kelly11-Aug-14 4:34
memberBrady Kelly11-Aug-14 4:34 
GeneralRe: XKCDOTD Pin
Rajesh_Francis11-Aug-14 23:42
professionalRajesh_Francis11-Aug-14 23:42 
GeneralRe: XKCDOTD Pin
PIEBALDconsult11-Aug-14 8:09
memberPIEBALDconsult11-Aug-14 8:09 
GeneralThe Magician's String, what you see is not what you get. Pin
Nicolas Dorier10-Aug-14 11:31
professionalNicolas Dorier10-Aug-14 11:31 
static void Main(string[] args)
{
	String str1 = "http://toto.com/";
	String str2 = "http://toto.com‏/";
	bool eq = str1 == str2;
	Console.WriteLine(eq); //print false
 

	str1 = "http://toto.com/";
	str2 = "http://toto.com/";
	eq = str1 == str2;
	Console.WriteLine(eq); //print true
}


See for yourself, but copy the code, do not retype it. Smile | :)
I lost hair on this one, bug on an actual project for one customer.
But it is a nice trick to do to one of your collegue if his computer is unlocked... Also works in configuration files. Wink | ;)
This is pure evil though.

modified 10-Aug-14 17:09pm.

GeneralRe: The Magician's String, what you see is not what you get. Pin
Johnny J.10-Aug-14 20:41
professionalJohnny J.10-Aug-14 20:41 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier11-Aug-14 0:26
professionalNicolas Dorier11-Aug-14 0:26 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Argonia10-Aug-14 23:37
professionalArgonia10-Aug-14 23:37 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Agent__00710-Aug-14 23:41
professionalAgent__00710-Aug-14 23:41 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Argonia10-Aug-14 23:48
professionalArgonia10-Aug-14 23:48 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier11-Aug-14 0:53
professionalNicolas Dorier11-Aug-14 0:53 
GeneralRe: The Magician's String, what you see is not what you get. Pin
harold aptroot11-Aug-14 0:25
memberharold aptroot11-Aug-14 0:25 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier11-Aug-14 0:34
professionalNicolas Dorier11-Aug-14 0:34 
GeneralRe: The Magician's String, what you see is not what you get. Pin
harold aptroot11-Aug-14 0:44
memberharold aptroot11-Aug-14 0:44 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Karen Mitchelle11-Aug-14 1:00
professionalKaren Mitchelle11-Aug-14 1:00 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier11-Aug-14 1:14
professionalNicolas Dorier11-Aug-14 1:14 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Fueled By Caffeine11-Aug-14 0:49
memberFueled By Caffeine11-Aug-14 0:49 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier11-Aug-14 0:54
professionalNicolas Dorier11-Aug-14 0:54 
GeneralFigured I should start earning my keep Pin
HomerTheGreat10-Aug-14 11:30
memberHomerTheGreat10-Aug-14 11:30 
JokeRe: Figured I should start earning my keep Pin
Johnny J.10-Aug-14 20:53
professionalJohnny J.10-Aug-14 20:53 
GeneralFresh 427 Update Pin
John Simmons / outlaw programmer10-Aug-14 9:01
memberJohn Simmons / outlaw programmer10-Aug-14 9:01 
GeneralRe: Fresh 427 Update Pin
Mike Hankey10-Aug-14 12:42
professionalMike Hankey10-Aug-14 12:42 

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.


Advertise | Privacy |
Web03 | 2.8.171207.1 | Last Updated 11 Dec 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid