Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
AnswerRe: ScrollableControl - Solution in .NET 2.0 Pin
Mike_Finch1-Apr-09 7:10
Mike_Finch1-Apr-09 7:10 
QuestionCreating Access DB Tables Pin
Planker29-Sep-08 8:54
Planker29-Sep-08 8:54 
AnswerRe: Creating Access DB Tables Pin
Mycroft Holmes29-Sep-08 14:47
professionalMycroft Holmes29-Sep-08 14:47 
GeneralRe: Creating Access DB Tables Pin
Planker30-Sep-08 7:48
Planker30-Sep-08 7:48 
Questionhow many characters is carriage return? [modified] Pin
nesfrank29-Sep-08 7:40
nesfrank29-Sep-08 7:40 
AnswerRe: how many characters is carriage return? Pin
Steven Jan29-Sep-08 8:01
Steven Jan29-Sep-08 8:01 
GeneralRe: how many characters is carriage return? Pin
nesfrank29-Sep-08 8:16
nesfrank29-Sep-08 8:16 
AnswerRe: how many characters is carriage return? Pin
Guffa29-Sep-08 8:27
Guffa29-Sep-08 8:27 
As Steven said, the carriage return character is a single character.

I think that what you actually are looking for is the new line character sequence.

A new line sequence can either be one character (line feed) or two characters (carriage return + line feed). A unix/linux based system used a single character, while a DOS/Windows based system uses two characters.

In C#, the escape sequence \r gives you the carriage return (CR) character, and the escape sequence \n gives you the line feed (LF) character.

To get the new line character sequence for the system that the program is currently running on, use the Environment.NewLine property.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: how many characters is carriage return? Pin
leppie29-Sep-08 21:48
leppie29-Sep-08 21:48 
GeneralRe: how many characters is carriage return? Pin
Guffa30-Sep-08 8:24
Guffa30-Sep-08 8:24 
AnswerRe: how many characters is carriage return? Pin
leppie29-Sep-08 21:49
leppie29-Sep-08 21:49 
QuestionUsing C# and COM to connect to a Server Pin
SRogers8829-Sep-08 7:38
SRogers8829-Sep-08 7:38 
QuestionMessage Closed Pin
29-Sep-08 6:55
love_man00129-Sep-08 6:55 
AnswerADVERTISMENT! Pin
Dave Kreskowiak29-Sep-08 7:08
mveDave Kreskowiak29-Sep-08 7:08 
QuestionHow can I export a crystal report to an image object ? Pin
davebarkshire29-Sep-08 6:37
davebarkshire29-Sep-08 6:37 
AnswerRe: How can I export a crystal report to an image object ? Pin
Wendelius29-Sep-08 7:19
mentorWendelius29-Sep-08 7:19 
QuestionC# Windows Service - Issue Creating Multiple Services in 1 Project Pin
Brett G29-Sep-08 5:08
Brett G29-Sep-08 5:08 
AnswerRe: C# Windows Service - Issue Creating Multiple Services in 1 Project Pin
Mark Salsbery29-Sep-08 8:51
Mark Salsbery29-Sep-08 8:51 
GeneralRe: C# Windows Service - Issue Creating Multiple Services in 1 Project Pin
Brett G29-Sep-08 9:00
Brett G29-Sep-08 9:00 
GeneralRe: C# Windows Service - Issue Creating Multiple Services in 1 Project Pin
Mark Salsbery29-Sep-08 9:05
Mark Salsbery29-Sep-08 9:05 
QuestionRead numbers from file Pin
hockymot2008_200929-Sep-08 5:04
hockymot2008_200929-Sep-08 5:04 
AnswerRe: Read numbers from file Pin
Simon P Stevens29-Sep-08 5:45
Simon P Stevens29-Sep-08 5:45 
GeneralRe: Read numbers from file Pin
Paul Conrad29-Sep-08 6:37
professionalPaul Conrad29-Sep-08 6:37 
AnswerRe: Read numbers from file Pin
User 665829-Sep-08 6:52
User 665829-Sep-08 6:52 
QuestionData sender and receiver Pin
ph1l229-Sep-08 4:55
ph1l229-Sep-08 4:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.