I want to iterate through both files and folders in a given folder. Is this possible

Platform: WinForms|Category: General IO

Yes

string[] contents = Directory.GetFileSystemEntries('folderName');
			foreach(string s in contents)
				Console.WriteLine(s);