c# 4.0 - c# How delete txt file 1st line? -


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 4 जवाब

textbox4.Text पहले ही दिखाते हैं।

मेरे कोड

  StreamReader objstream = new StreamReader (नया स्ट्रीम रीडर)  

"ई: \\ lastname.txt"); TextBox4.Text = objstream.ReadLine ();

  var पंक्तियाँ = फ़ाइल। पढ़ेंअली लाइन ("ई: \\ lastname टेक्स्ट"); फ़ाइल। विलय सभी लाइनें ("ई: \\ lastname.txt", लाइनें। स्किप (1) .ओएरे ());  

Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -