Browse by Tags
All Tags »
.Net (RSS)
Frequently, the most of people use XPATH to do xml manipulation. But if you want another way to manipulate XML, you can use LINQ to XML. Supposing that we have the following XML: <? xml version="1.0" encoding="utf-8" ?> <
Read More...
I needed to serialize an array few weeks ago and i found one way to perform this serialization. I performed the serialization for the following objects: _persons.Add( new Employee { FirstName = " John ", LastName = " Smith ", Age =
Read More...
In this post i will explain what’s the differences between Cast() and OfType() methods using LINQ, and i will also explain when we should use each method. These methods allow us to cast an object type to another, but when you’re using the
Read More...