Tuesday, July 31, 2012

SecurityElement class

SecurityElement.Escape(string)


SPDiagnosticsService.Local.WriteTrace   write to logs

Wednesday, July 18, 2012

Useful Find

http://stackoverflow.com/questions/621777/select-the-next-n-elements-of-an-ienumerablet

Skip() and Take() in Linq can be used to select a certain sequence irrespective of its order.

Skip() and Take() can be used in combination to select a sequence starting anywhere.

Difference between Where() and TakeWhile() is TakeWhile() stops when first negative result is encountered, former does not..