i want to compare current time with specific time in c# application when some event occures : /*here only else part is getting executed so what should i do to execute if part please help to solve this*/

    private void Form_Load(object sender, EventArgs e)
    {
    /* Current Time is 11:47:00 AM*/
    System.DateTime CurrentTime = System.DateTime.Now;
    System.DateTime StartTime = Convert.ToDateTime("10:15:00 AM");
    System.DateTime Stoptime = Convert.ToDateTime("02:29:57 PM");
    System.DateTime CloseTime = Convert.ToDateTime("02:59:57 PM");

        if (StartTime > CurrentTime && CurrentTime < Stoptime)
        {
            //CODE
        }
        else
        {
            //CODE
        }
    }