byte[] data = GenerateReport(string ReportTitle, out string fileName);
// The GenerateReport(..) method returns a byte array containing report content.
// The method will also initialise the string variable "fileName"
// The method will also initialise the string variable "fileName"
--------------------------
Avoid indentations as much as possible because it makes your code harder to read.
Suggestion:
Instead of using if (A && B) { ... }
consider using if (!A || !B) continue;
Suggestion:
Instead of using if (A && B) { ... }
consider using if (!A || !B) continue;
No comments:
Post a Comment