OpenFileDialog openFileDialog = new OpenFileDialog
{
InitialDirectory = "C:\\",
Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*",
FilterIndex = 2,
RestoreDirectory = true
};



책에도 없는건데


인스턴스 new 

{

  초기화...

};