MANGACS TEAM
All for Counter strike 1.6 and more WWW.MANGACS.3XFORUM.RO WWW.MANGACS.3XFORUM.RO WWW.MANGACS.3XFORUM.RO WWW.MANGACS.3XFORUM.RO FREE DOWNLOAD - Filme noi 2016 filme noi filme comedie filme horror filme de groaza filme aventura filme actiune filme desene animate download filme gratis filme noi , filme thriller , filme gratis , jocuri full download , jocuri gratis , jocuri full , muzica noua , muzica romaneasca , hacking , torrent , jocuri free download , free download cfg silent aim ,dll , aimbot for counter strike 1.6 free download, scripts aim , eac , voiplay , Vac : WWW.MANGACS.3XFORUM.RO WWW.MANGACS.3XFORUM.RO FREE DOWNLOAD Cheat counter strike eac3 vac3 aimbot dll yahoo facebook hack aegiss
|
Lista Forumurilor Pe Tematici
|
MANGACS TEAM | Reguli | Inregistrare | Login
POZE MANGACS TEAM
Nu sunteti logat.
|
Nou pe simpatie: OnutzaGirl
| Femeie 24 ani Galati cauta Barbat 24 - 51 ani |
|
dude
Pe lista neagra
Inregistrat: acum 12 ani
Postari: 250
|
|
1)Stergerea Fisierelor:
Pentru a sterge un fisier vom folosii motoda FileInfo.Delete(). Sintaxa este:
Code:
public override void Delete();
Ca sa inztelegetzi mai usor uitati-va peste exemplul urmator:
Code:
using System; using System.IO;
public class Program { static int Main(string[] args) { var fleMembers = new FileInfo("First.txt";
if (fleMembers.Exists == true) fleMembers.Delete();
return 0; } }
2)Copierea fisierelor:
Pentru a copia niste fisiere in C# se foloseste FileInfo.CopyTo() cu sintaxa:
Code:
public FileInfo CopyTo(string destFileName);
si exemplul:
Code:
using System; using System.IO;
public class Program { static int Main(string[] args) { var fleMembers = new FileInfo("Reality.txt"; var strMyDocuments = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
if (fleMembers.Exists == true) fleMembers.CopyTo(string.Concat(strMyDocuments, "\\Federal.txt"
return 0; } }
sau
Code:
public FileInfo CopyTo(string destFileName, bool overwrite);
3) Mutarea Fisierelor:
Pentru a muta fisierele se foloseste comanda FileInfo.MoveTo() cu syntaxa:
Code:
public void MoveTo(string destFileName);
Exemplu:
Code:
using System; using System.IO;
public class Program { static int Main(string[] args) { var fleMembers = new FileInfo("pop.txt"; var strMyDocuments = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
if (fleMembers.Exists == true) fleMembers.MoveTo(string.Concat(strMyDocuments, "\\Federal.txt"
return 0; } }
Caracteristiciile fisierelor:
4)Numele fisierului:
Code:
using System; using System.IO;
public class Program { static int Main(string[] args) { var SomeFile = new FileInfo("Persons.spr";
if (SomeFile.Exists == true) Console.WriteLine("The name of this file is: \"" + SomeFile.Name + "\"";
return 0; } }
5) Extensia Fisierului:
Pentru a afla extensia unui fisier se foloseste FileSystemInfo.Extension .
Code:
using System; using System.IO;
public class Program { static int Main(string[] args) { var SomeFile = new FileInfo("Persons.spr";
if (SomeFile.Exists == true) Console.WriteLine("File Extension: " + SomeFile.Extension);
return 0; } }
Astfel rezultatul va fii:
File Extension: .spr Press any key to continue . . .
6) Marimea Fisierului:
Code:
using System; using System.IO;
public class Program { static int Main(string[] args) { var SomeFile = new FileInfo("Persons.spr";
if (SomeFile.Exists == true) Console.WriteLine("File Size: " + SomeFile.Length.ToString());
return 0; } }
Rezultatul exemplului va fii:
File Size: 57 Press any key to continue . . .
© Alpha Thema & Kimnotyze
|
|
pus acum 12 ani |
|