سلام بر برنامه نویسان عزیز ایران زمین 😉 در این مطلب کد خواندن هر بار یک کاراکتر از StreamReader با حلقه for در سی شارپ #C را آماده کردم. انشاالله که این کد براتون مفید باشه.
کد خواندن هر بار یک کاراکتر از StreamReader با حلقه for در سی شارپ #C :
using System;
using System.IO;
public class MainClass
{
static void Main(string[] args)
{
StreamReader MyStreamReader = new StreamReader(@"c:\Projects\Testing.txt");
using System.IO;
public class MainClass
{
static void Main(string[] args)
{
StreamReader MyStreamReader = new StreamReader(@"c:\Projects\Testing.txt");