using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Tango.Logging
{
///
/// Contains extension methods.
///
public static class StringExtensions
{
///
/// Converts the object to string. If the object is null, will return null.
///
/// The object.
///
public static String ToStringSafe(this object obj)
{
return obj != null ? obj.ToString() : String.Empty;
}
}
}