Naju Mancheril
- Total activity 7
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 3
-
Naju Mancheril commented, -
Naju Mancheril created a post, Hint to replace HashSet<T> with ISet<T>, not ICollection<T>
Given this method: private static void Add<TValue>(HashSet<TValue> values) { values.Add(default(TValue)); if(values.Contains(default(TValue))) { values.Add(default(TValue)); ... -
Naju Mancheril created a post, BUG Bad inspection says Expression is always false
Example which shows the problem: var keyToValue=new Dictionary<int, int> {{0, 0}, {1, 1}}; var ids=new List<int> {1, 2, 3}; var removed=false; foreach(var id in ids) { ... -
Naju Mancheril created a post, BUG Convert to Linq-expression does incorrect transform
Initial code: var count=0; for(var i=0; i<5; i++) { foreach(var q in new[] { "aaa", "bbb", "ccc", "ddd" }) { count+=(i.ToString() + q).Length; }...