mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-10-07 14:19:09 +00:00
big clean up
This commit is contained in:
@@ -1,18 +1,17 @@
|
||||
#if NETFRAMEWORK || NETSTANDARD2_0
|
||||
#if NETFRAMEWORK || NETSTANDARD2_0
|
||||
|
||||
namespace SharpCompress
|
||||
namespace SharpCompress;
|
||||
|
||||
internal static class StringExtensions
|
||||
{
|
||||
internal static class StringExtensions
|
||||
internal static bool EndsWith(this string text, char value)
|
||||
{
|
||||
internal static bool EndsWith(this string text, char value)
|
||||
{
|
||||
return text.Length > 0 && text[text.Length - 1] == value;
|
||||
}
|
||||
return text.Length > 0 && text[text.Length - 1] == value;
|
||||
}
|
||||
|
||||
internal static bool Contains(this string text, char value)
|
||||
{
|
||||
return text.IndexOf(value) > -1;
|
||||
}
|
||||
internal static bool Contains(this string text, char value)
|
||||
{
|
||||
return text.IndexOf(value) > -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user