using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string k = a();
Console.WriteLine(k);
}
private static string a()
{
return "merhaba";
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string k = a("dünya");
Console.WriteLine(k);
}
private static string a(string isim)
{
return "merhaba "+isim;
}
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
StreamReader sr = new StreamReader("dnm.txt");
string yazi = "";
while (yazi!=null)
{
yazi = sr.ReadLine();
if (yazi!=null)
{
Console.WriteLine(yazi);
}
}
sr.Close();
}
}
}
0 Yorumlar