with your example on page: Read Outlook PST File and Get Folders and SubFolders Information|Documentation
Console.WriteLine("Display Name: " + pst.DisplayName);
// Get the folders information
FolderInfoCollection folderInfoCollection = pst.RootFolder.GetSubFolders();
// Browse through each folder to display folder name and number of messages
foreach (FolderInfo folderInfo in folderInfoCollection)
{
Console.WriteLine("Folder: " + folderInfo.DisplayName);
Console.WriteLine("Total items: " + folderInfo.ContentCount);
Console.WriteLine(“Total unread items: “ + folderInfo.ContentUnreadCount);
Console.WriteLine(”-----------------------------------”);
}