ππ‘ππ π’π¬ ππ‘π ππ’ππππ«ππ§ππ ππππ°πππ§ π π’π«π¬π() ππ§πβ¦
The major difference between First and FirstOrDefault is that First() will throw an exception if there is no result data for the suppliedβ¦
The major difference between First and FirstOrDefault is that First() will throw an exception if there is no result data for the supplied criteria whereas FirstOrDefault() will return the default value (null) if there is no result data.
If you like my work you can help me in growing through following ways