using System;
using System.Text;
namespace ConsoleApplication_C_Sharp
{
class Program
{
static string SetSB(StringBuilder sb, string[] arr)
{
foreach (string s in arr)
{
sb.Append(s).AppendLine();
}
return sb.ToString();
}
static void Main(string[] args)
{
StringBuilder sb = new StringBuilder();
sb.Append("c#");
sb.AppendLine();
sb.Append("java").AppendLine();
sb.Append("c++");
Console.WriteLine(sb[0]);
Console.WriteLine(sb[1]);
Console.WriteLine(sb[3]);
Console.WriteLine(sb[4]);
}
}
}
/*
run:
c
#
j
*/