mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-28 08:47:59 +01:00
be more concise
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user