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

Write a program. there are 1..n numbers placed in an array in random fashion with one integer missing. find the missing number.

1 Answers   Infosys, Mind Tree,


How to Create a Treeview Menu in ASP.NET with C#?

1 Answers  


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

1 Answers   Mind Tree,


how do i copy textbox contents of 1 form to another form

4 Answers   Wipro,


program for string reverse(eg:- i am boy -> boy am i)

8 Answers   Black Pepper, Infosys, Mind Tree,


Code for Reading and writing from a file?

0 Answers   IBM, Xoriant,


Code for IP Address Comparison and Conversion in C#?

0 Answers  


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

2 Answers   Sify,


Hello Sir, Thanks for the Solution but, can you pls. Explain the coding for the Static Function & static variable from the below coding....waiting for Ans. class fact { public static void Main() { fact f=new fact(); int x=1; //Declaration of x as 1 int k=Convert.ToInt32(Console.ReadLine()); for(int i=1;i<=k;i++) { x= x *i; } System.Console.WriteLine(x); } }

0 Answers  


Write a program to convert postfix expression to infix expression.

0 Answers   Mind Tree,


Can you declare an array of mixed Types?

1 Answers   HCL,


Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik

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)