Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the correct way of declaring an xml namespace?

Answer Posted / Alop Agrahari

"The correct way of declaring an XML namespace in C# is by using the xmlns attribute on an XElement or XDocument object. For example, to declare a default namespace named myNamespace for an XElement: XElement root = new XElement(XName.Get("root", "myNamespace"), ..."

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which namespaces are necessary to create a localized application?

1134


How to assign Null value to Var?

1054


What is expression tree in c#?

994


What is an abstract class c#?

962


Why can't we use a static class instead of singleton?

947


How do you inherit a class into other class in c#?

985