📅  最后修改于: 2022-03-11 15:00:44.145000             🧑  作者: Mango
BY LOVE
• Here , employee is an object and from that object we are fetching Gender property which is of string type.
@if (employee.Gender == "Male")
{
Male
}
else
{
Male
}