There is no such type as "Folder". Use the type
By the way, in programming, directories are called directories, not "folders". The notion of a folder is more of an interface metaphor
. Nothing is really "folded". Please see:
Unfortunately, .NET FCL mixes both terms in the API names, but more traditional and obviously more correct "directory" dominates.