Answers for "openfiledialog c# using statement"

C#
0

OpenFileDialog c#

OpenFileDialog fileDialog= new OpenFileDialog(); 
fileDialog.DefaultExt = ".txt"; // Required file extension 
fileDialog.Filter = "Text documents (.txt)|*.txt"; // Optional file extensions

fileDialog.ShowDialog();
Posted by: Guest on September-24-2021

C# Answers by Framework

Browse Popular Code Answers by Language