1
Reply

About string

yokzu

yokzu

13 years ago
1.3k
hello,
I just wanna curious about how can I write more string easily in code. For example I wanna add these strings to "str" variable.
--------------------------

The demo project is a simple console application demonstrating the use of SshStream and Scp classes. It asks the user for the hostname, username and password for a remote SSH server and shows examples of a simple SSH session, and file transfers to/from a remote SSH machine.

Here is a screen shot of an SSH connection to a Linux shell:

-------------------------

so I want to add these strings to "str".


String str = ""    ---> but there are lots of line in there.(maybe 10) Is there easy way to add these?

Answers (1)