Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to Create Files by Using the FileInfo Class?



How to Create Files by Using the FileInfo Class?..

Answer / raihansazal

FileInfo fi = new FileInfo("Your file name with directory");
fi.Create();

That's all.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More C Sharp Code Interview Questions

Code for Working with Files under a Directory?

1 Answers  


write a Program to copy the string using switch case.

0 Answers   Mind Tree, Wipro,


Code for Searching for Multiple Matches with the MatchCollection Class?

0 Answers   TCS,


How to Create Files by Using the FileInfo Class?

1 Answers  


Automatically Hyperlink URLs and E-Mail Addresses in ASP.NET Pages with C#

1 Answers  


c# code to Count number of 1's in a given range of integer (0 to n)

0 Answers  


Coding for Manipulate XML File Data Using C#?

1 Answers  


how to get the table names via c sharp and column names also?

2 Answers   Sify,


Write a program which has a function and that function should take 2 or 3 or any number of strings and it should return the largest common prefix of all those strings. If there is no common prefix it should return an empty string. for eg:- INPUT OUTPUT glo {glory,glorious,glod} gl {glad,glow} {calendar,phone} empty string

2 Answers   Mind Tree,


. Write a program to print the following outputs using for loops $ $ $ $ $ $ $ $ $ $ $ $ $ $ $

3 Answers  


program for addition of fraction(M/N + P/Q = Y/Z)

1 Answers   Mind Tree,


program to reverse the order of digits in a given number of any length.

1 Answers   Mind Tree,


Categories
  • ASP.NET Code Interview Questions ASP.NET Code (46)
  • VB.NET Code Interview Questions VB.NET Code (9)
  • C Sharp Code Interview Questions C Sharp Code (51)
  • ADO.NET Code Interview Questions ADO.NET Code (8)