Welcome to Comunidade Bloggers |create|it| Sign in | Join | Help

António Vargas - SharePoint 2010


.Net
SharePoint
Silverlight

Browse by Tags

All Tags » .Net   (RSS)
LINQ to XML: How to use it?
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...
How to serialize an array or a list?
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...
Cast vs OfType: Which should i use to cast an object’s list?
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...