mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Reduce more Linq usage
This commit is contained in:
@@ -87,7 +87,7 @@ namespace SabreTools.Core.Tools
|
||||
if (string.IsNullOrEmpty(input))
|
||||
return string.Empty;
|
||||
|
||||
return new string(input.Where(c => c <= 255).ToArray());
|
||||
return new string(input!.Where(c => c <= 255).ToArray());
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user