how will i rename an image file which i have taken as input throuch the textbox using the C# code
how will i rename an imge file which i have taken as input throuch the textbox using the C#开发者_StackOverflow中文版 code
You should give more context here, but:
- The type of file is probably irrelevant
- How you've received the filename is probably irrelevant
- The type of application may very well be relevant - is this a client app, a web app, what?
File.Move
is probably what you're after.
精彩评论