Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 ) ConferencesDemo 2 ) My code is running fine, but I cannot get grade yet. This are my ERRORS: Reason: Unable to run ConferencesDemo.cs
ConferencesDemo
My code is running fine, but I cannot get grade yet. This are my ERRORS:
Reason: Unable to run ConferencesDemo.cs
Unhandled Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: s
Please assist me
using System;
using static System.Console;
using System.Globalization;
using System.Collections.Generic;
class Conference : IComparable
public string Group get; set;
public string Date get; set;
public int Attendees get; set; least to greatest attendees
public int CompareToConference other
return Attendees.CompareTootherAttendees;
NAME Conference starts on DATE and has ATTENDEES attendees
class ConferencesDemo Conference
static void Main static
List conferences new List;
for int i ; i ; i times
Conference conference new Conference;
WriteGroup: ;
conference.Group ReadLine;
WriteDate: ;
conference.Date ReadLine;
WriteAttendees: ;
conference.Attendees int.ParseReadLine;
conferences.Addconference;
conferences.Sort;
ReadLine;
foreach var conference in conferences
WriteLine$conferenceGroup Conference starts on conferenceDate and has conferenceAttendees attendees";
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started