RosettaCodeData/Task/String-prepend/C-sharp/string-prepend.cs

16 lines
268 B
C#
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
using System;
namespace PrependString
{
class Program
{
static void Main(string[] args)
{
string str = "World";
str = "Hello " + str;
Console.WriteLine(str);
Console.ReadKey();
}
}
}