Data Types C#

using System;
using System.Collections.Generic;
using System.Text;
internal static class Util
{
    internal static string EnsureEndWithSemiColon(string value)
    {
        if (value != null)
        {
            int length = value.Length;
            if ((length > 0) && (value[length - 1] != ';'))
            {
                return (value + ";");
            }
        }
        return value;
    }
}