In C# I wrote a method to move a folder into another existing folder:public void MoveFolder(string folderToMove, string destination){    String destinationFolder = Path.Combine(        destination, Path.GetFileName(folderToMove));    Directory.Move(folderToMove, destinationFolder);}Usage:MoveFolder(@D:\myfolder\mysubfolder, @C:\);It works, but I am sure there is a more readable and shorter way to do that? In particular, I feel bad using GetFileName.No tricky things to worry about: The folders exist, and destination is not inside folderToMove nor the same.It must work on .NET 4.0 without additional libraries.
Move a folder to another in C#
c#;file system