C# and .Net are rich in methods to complete the task. With each new version we have new classes and methods. Reading and parsing XML is not an exclusion. Below I’ll tell you about 3 methods for reading XML-data in C#. (read more...)
C# and .Net are rich in methods to complete the task. With each new version we have new classes and methods. Reading and parsing XML is not an exclusion. Below I’ll tell you about 3 methods for reading XML-data in C#. (read more...)
I found a great collection of Visual Studio shortcuts. While coding I often comment some lines of code. Using shortcuts it's even more easy. It's not a common combination - select lines to comment and press Ctrl + K then Ctrl + C, to uncomment - Ctrl + K then Ctrl + U. (read more...)
In this post I'll describe two ways to sort List<T> generic collection by one of it's fields. It's very useful and not easy for beginners. (read more...)
Using this method you can copy attachments from one list item to another. You can add it to SharePoint workflow or any other action. (read more...)
Once one friend of mine was making s SharePoint web-part with a lot of available filters. He couldn’t make it with only list so webPart was the only way. (read more...)
There’s a rather pretty way to use something like PHP strip_tags() function in C# just using regular expresion
So we need to save our List<T> to XML file for something. For example, for work with it in Access. C# is great for this with using System.Xml.Serialization. There are only 4 strings of code to save an XML-file. (read more...)