C# Programing - Techniques







Working with: Strings, Arrays, Directories, Files, Folders, GetFiles, GetDirectories, Searching
Working with: ComboBoxes, Combo Boxes, Drop Down, DropDown, From Text, Files
Working with: Get Files
Working with: Creating Lists
Things I'd like to try:
string fileName = "test.txt";
FileInfo f = new FileInfo(fileName);
string fullname = f.FullName;
String Tips:
Don't try and trim (ie. "Trim()" ) a string variable ie. string newVariable = "data".Trim();
Links to string resource pages:
https://stackoverflow.com/questions/13175868/how-to-get-full-file-path-from-file-name
https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.getlastwritetime?view=net-7.0
Determine type of sender ie. checkBox or textBox

ie. if (sender == (CheckBox)sender)...

Above tells you if sender was a CheckBox