Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. CharArrayReader

CharArrayReader

Scheduled Pinned Locked Moved C#
csharpjavaquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DwR
    wrote on last edited by
    #1

    Hi, Could anyone tell me whether there is a C# equivalent of the java CharArrayBuilder class? Regards, Dave

    Regards, Dave

    S D 2 Replies Last reply
    0
    • D DwR

      Hi, Could anyone tell me whether there is a C# equivalent of the java CharArrayBuilder class? Regards, Dave

      Regards, Dave

      S Offline
      S Offline
      SomeGuyThatIsMe
      wrote on last edited by
      #2

      i would imagine that StringBuilder would be close, but i'm not all that familiar with java.

      Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      1 Reply Last reply
      0
      • D DwR

        Hi, Could anyone tell me whether there is a C# equivalent of the java CharArrayBuilder class? Regards, Dave

        Regards, Dave

        D Offline
        D Offline
        DaveyM69
        wrote on last edited by
        #3

        I don't think there is one. However, a string is really a null terminated character array + it has a ToCharArray method. As the previous poster said there's also the string builder if you need it. Another alternative is to use a List<char>

        Dave
        BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups