c# Programming Glossary: stringcomparison.currentcultureignorecase
Why does LINQ-to-Entites recognize my custom method? http://stackoverflow.com/questions/2675536/why-does-linq-to-entites-recognize-my-custom-method workOrder return workOrder.WorkOrderNum.StartsWith A StringComparison.CurrentCultureIgnoreCase Using EF1 not EF4 c# entity framework linq to entities share..
Selecting the size of a System.Drawing.Icon? http://stackoverflow.com/questions/4025401/selecting-the-size-of-a-system-drawing-icon foreach string rname in rnames if rname.EndsWith tofind StringComparison.CurrentCultureIgnoreCase using var stream asm.GetManifestResourceStream rname return..
Get filename while downloading it http://stackoverflow.com/questions/4096929/get-filename-while-downloading-it filename int index contentDisposition.IndexOf lookFor StringComparison.CurrentCultureIgnoreCase if index 0 fileName contentDisposition.Substring index lookFor.Length..
Selectively coloring text in RichTextBox http://stackoverflow.com/questions/455713/selectively-coloring-text-in-richtextbox string s box.Text for int ix 0 int jx s.IndexOf phrase ix StringComparison.CurrentCultureIgnoreCase if jx 0 break box.SelectionStart jx box.SelectionLength phrase.Length..
PDF Text search C# http://stackoverflow.com/questions/4893898/pdf-text-search-c-sharp count 0 int lastStartIndex pageText.IndexOf textToSearch 0 StringComparison.CurrentCultureIgnoreCase while lastStartIndex 1 count lastStartIndex pageText.IndexOf.. pageText.IndexOf textToSearch lastStartIndex 1 StringComparison.CurrentCultureIgnoreCase if count 0 Console.WriteLine Page 0 ' 1 ' found 2 times i textToSearch..
How to recursively Iterate over properties of an Entity http://stackoverflow.com/questions/5381851/how-to-recursively-iterate-over-properties-of-an-entity Extension.GetPropertyName new FMVHistory .FMVHistoryId StringComparison.CurrentCultureIgnoreCase continue pi.SetValue Clone pi.GetValue Obj null null return..
Is there a C# case insensitive equals operator? http://stackoverflow.com/questions/631233/is-there-a-c-sharp-case-insensitive-equals-operator
|