be more concise

This commit is contained in:
Jamie D
2020-07-02 19:30:54 +01:00
parent e5647b9299
commit 4caa852db2

View File

@@ -561,11 +561,7 @@ namespace Terminal.Gui {
/// <summary>
/// Gets the number of items in the <see cref="IList"/>.
/// </summary>
public int Count {
get {
return src?.Count != null ? src.Count : 0;
}
}
public int Count => src != null ? src.Count : 0;
void RenderUstr (ConsoleDriver driver, ustring ustr, int col, int line, int width)
{