I am working with files and directory in C#, so I would like to know how can I rename a file and directory in C#? I would like to rename file first and then in some cases would have to rename directory also.
I see there is File.Move
Method, but is there any other method or way to rename a file and what about Directory, how to rename directory?
Hello, When I am using below simple C# code to untidy my XML string, but when executing locally it is working fine, but on server I am getting below error
...How can I return multiple parameters of string
type using web method (web service) in asp.net C#, here is my current code
I am trying to save data into database using web service[asmx], after saves successfully data into table I want to show successful message in JSON format
Here is my code:
...