Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: LLDLLD
  • Content: Threads
  • Order by date
  1. LLDLLD

    Public Enum Not Visible in Class

    I was wondering if anyone knew why a public enum does not show up to use after creating an instance of the class that it resides in? For example: In ClassWithEnum: public enum Values { value1 = 0, value2 = 1 } Then, create an instance of the class: ClassWithEnum myClassInstance = new...
  2. LLDLLD

    Replace Apostrophe with Double Apostrophe

    I have tried using the simple Replace function in C# to find and replace a single apostrophe with two, but neither the Replace function nor the IndexOf function find the single apostrophe. Example: strToReplace = "Joe's shoes" -- Code: strToReplace = strToReplace.Replace("'", "''"); Result...

Part and Inventory Search

Back
Top