fayllar.org
ma'muriyatiga murojaat qiling
Using System; using System. Io; namespace
Download
91.9 Kb.
Sana
28.12.2022
Hajmi
91.9 Kb.
#1009971
Bog'liq
StreamReader sinfi
using
System;
using
System.IO;
namespace
StreamReader_sinfi
{
class
Program
{
public
static void
Main
(string[] args)
{
Console.
WriteLine
("StreamReader sinfi bilan ishlash.");
StreamReader sr= File.
OpenText
(@"c:\test.txt");
Console.
WriteLine
("test.txt faylidagi ma'lumotlar:\n");
string input =
null
;
while
((input = sr.
ReadLine
()) !=
null
) {Console.
WriteLine
(input);}
Console.
ReadKey
(
true
);
}
}
}
Download
91.9 Kb.
Do'stlaringiz bilan baham:
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling