using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components; using System.Diagnostics; namespace ex1.Pages { public partial class Index { string text1=""; string text2=""; string htmmlText="Bana Tıkla"; private void KimBüyük(){ if((text1.Length)>(text2.Length)){ htmmlText=text1; }else if(text1.Length==text2.Length){ htmmlText="Aynı Uzunlukta"; }else{ htmmlText=text2; } } } }