One quick question: why the need to initialize a variable for Directory class? Directory class provides shared members. Is there a particular purpose to explicitly create a variable (strToBackup)?
You can use the shared members rather than define the information in a variable. If I have to repeat a call, sometimes I just define the variable rather than call the shared members multiple times.
Thanks, Just what I needed..
I know there are problems but it answered my question about System.IO
VIPX1 1 year ago
One quick question: why the need to initialize a variable for Directory class? Directory class provides shared members. Is there a particular purpose to explicitly create a variable (strToBackup)?
rafaybinali 2 years ago
You can use the shared members rather than define the information in a variable. If I have to repeat a call, sometimes I just define the variable rather than call the shared members multiple times.
MwalimuJennLewis 2 years ago