namespace Chernobyl.Extensions
{
///
/// Extension methods for and related types.
///
public static class StringExtensions
{
///
/// Returns an empty string if the provided string is null.
///
/// The string to check for null.
/// or an empty string if it is null.
public static string EmptyIfNull(this string str)
{
return str ?? string.Empty;
}
}
}