namespace UNEB
{
public static class StringExtensions
{
///
/// Merges the parent and child paths with the '/' character.
///
///
///
///
public static string Dir(this string parentDir, string childDir)
{
return parentDir + '/' + childDir;
}
///
/// Appends the extension to the file name with '.'
///
///
///
///
public static string Ext(this string file, string extension)
{
return file + '.' + extension;
}
}
}