Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 528.5k

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)