C# Check If Text File Has Content

I am building a C# WPF Browser App (my C# skills are quite rusty).

I have a button that I want to have change color depending on if a text document has anything in it. IE: Color is Green if there is any text in it, or Red if it is empty.

Can someone please push me off in the right direction. Thank you.

6
задан Jonathan Wood 11 February 2011 в 02:52
поделиться