Ramco Ramco

Ramco Ramco

  • 435
  • 3.4k
  • 546.7k

How to initialize implicit variable

Apr 6 2023 12:59 PM

Hi

  How to initialize Result variable

Result = (from t2 in context.View_SessionDeliveryCalendarDetails_Students
                              where t2.MentorID == mentorId
                              select new { t2.StudentID, Name = t2.Name + " - " + t2.MobileNo }).Distinct().ToList();

Thanks


Answers (7)