how to get list of files or filenames in azure blob storage

CloudStorageAccount stgAccount = CloudStorageAccount.Parse(YOUR_CON_STRING);


var blobClient = stgAccount.CreateCloudBlobClient();


var stgContainer = blobClient.GetContainerReference("CONTAINER");


var blobs = stgContainer.ListBlobs().OfType().ToList();


foreach (var blob in blobs)


{


string bName = blob.Name;


long bSize = blob.Properties.Length;


string bModifiedOn = blob.Properties.LastModified.ToString();


}