Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

This is probably a really simple question, but what do "/r" and "/n" togethor ("/r/n") signify in C#? If you know what they mean, do you know what the equivalent of that string is in vb.net?

I am actually a vb.net programmer, and trying to learn how to use sockets. As there aren't exactly many tutorials in vb.net, I decided to look up tutorials in C#. I can translate it all, except for this one piece. So could you help me?

Posted (edited)
This is probably a really simple question, but what do "/r" and "/n" togethor ("/r/n") signify in C#? If you know what they mean, do you know what the equivalent of that string is in vb.net?

I am actually a vb.net programmer, and trying to learn how to use sockets. As there aren't exactly many tutorials in vb.net, I decided to look up tutorials in C#. I can translate it all, except for this one piece. So could you help me?

 

The equivalent in VB.NET is VbCrLf which is a carriage return line feed. The /r is a carriage return and the /n is a line feed I believe, though not sure...

Edited by coldfusion244
-Sean

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...