سلام 😉 در این مطلب کد ساخت فایل متنی با File.CreateText و return StreamWriter در #C را آماده کردم. انشاالله که این کد براتون مفید باشه.
کد ساخت فایل متنی با File.CreateText و return StreamWriter در #C :
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
class MainClass
{
public static void Main()
{
StreamWriter Writer;
Writer = File.CreateText("TestResults.log");
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
class MainClass
{
public static void Main()
{
StreamWriter Writer;
Writer = File.CreateText("TestResults.log");