Results 1 to 3 of 3

Thread: Line break charector?

  1. #1

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Line break charector?

    Hi, what is the C# equivelant to VB's line break charector?
    Code:
    strString = "A" & "B" & _
    "C"
    Thanks

    Signatures suck

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: Line break charector?

    First up, that's a line continuation character, not a line break character.

    As for the question, there isn't one. In VB lines are assumed to terminate unless you explicitly continue them with an underscore. In C# lines are assumed to continue unless you explicitly terminate them with a semicolon.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Line break charector?

    oh I knew that damnit, thanks.

    Signatures suck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width