The base class object have some basic methods which other classes override those methods. One of the methods is Equals. Although equals usually compares references of objects,some of .Net framework internal classes implement that method. Like in System.String class it compare the contents rather than the reference equality.

By on 8/8/2007 9:34 AM ()

Use "s1 = s2". Note this does "ordinal" comparison, i.e. comparison doesn't depend on the current culture settings. This is normally what you want in F# applications, though it depends on the domain.

don

By on 8/8/2007 1:33 PM ()

Thanks, guys!

By on 8/13/2007 2:13 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper