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 |
Write a program. there are 1..n numbers placed in an array in random fashion with one integer missing. find the missing number.
How to Create a Treeview Menu in ASP.NET with C#?
program to reverse the order of digits in a given number of any length.
how do i copy textbox contents of 1 form to another form
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?
Code for IP Address Comparison and Conversion in C#?
how to get the table names via c sharp and column names also?
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); } }
Write a program to convert postfix expression to infix expression.
Can you declare an array of mixed Types?
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