Static RRS feed

  • Question

  • Good day:) 

    I have quesstion. When I create dll with class for example 


     public class WorkWithFile
            static public string FileDialog()
                var openFD = new OpenFileDialog();
                openFD.InitialDirectory = "C:\\";           
                openFD.CheckFileExists = true;           
                return openFD.FileName;


     And for example I open 2 solutions which using this dll. In memory,  function FileDialog, will be creating 2 times (2 diferent plase in memory ). Or 2 solutions will be refered in 1 place in memory??? And whitch book I can reed for this question???

    Wednesday, April 5, 2017 6:52 AM

All replies