In computer science, a data structure is a particular way of organizing and storing data in a computer so that it can be accessed and modified efficiently.
Question:difference between value type and reference type with example in c#
Description:recently I have gone through an interview where I have been asked why a software developer should know about the difference between value type and reference type, by definition I know both terms but what are the condition where I have to choose any one of them and the other couldn't do the same thing for me ?
Posted by: Samantha Jones | Posted on: Feb 08, 2019
Question:What is Cleanest way to check for Null value in Lambda Expressions, C#?
Description:Currently i am using following code and its not working,where Items is a list and GetHierarchicalTaxons("Category") is also returning a list which should have at least a item to pass the condition. var Items=Model.Items.Where(i => i.GetHierarchicalTaxons("Category") != null);
Posted by: Khalid Abbas | Posted on: Feb 13, 2018
Question:what is the main difference between IEnumerable and IQueryable, which one should be preferred?
Description:I have searched few differences between IEnumerable<T> and IQueryable<T> but still can't decide which one to preferred and why, anyone with an simple example would be more appreciated so that i can understand it with more clarity.
Posted by: Junaid Aziz | Posted on: Nov 14, 2017