Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
U

User 956892

@User 956892
About
Posts
9
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • XPath expression not working in xslt stylesheet
    U User 956892

    You have to use If you like test for the existence of the node Raj

    XML / XSL xml csharp asp-net regex performance

  • XPath expression not working in xslt stylesheet
    U User 956892

    You have to use If you like test for the existence of the node Raj

    XML / XSL xml csharp asp-net regex performance

  • XPath expression not working in xslt stylesheet
    U User 956892

    you have to use if you want test for its existence and select

    XML / XSL xml csharp asp-net regex performance

  • XML Serialization problem
    U User 956892

    Hi I am using XML serializationn in C#. I have code like this. public class Doc { [XmlArrayItem (ElementName="TNArray", Type=typeof(ReTN[]))] public object[] Obj; } [XmlRoot("TNA")] public class ReTN {something...} Here I am trying to set XML node as "TNA" instead of class name "ReTN". [XmlRoot("TNA")] works when I serialize single object, that means when I say [XmlElement(Type=typeof(ReTN))]. In single object case I am getting node name as "TNA". If I serialize array of objects as I was doing above it gives class name("ReTN") as node name. Any thoughts. Any help is greatly appreciated. Thanks Raj

    XML / XSL help csharp data-structures xml json

  • ArrayList Indexing: Help
    U User 956892

    I got it. Thnaks Raj

    C# database data-structures help question

  • ArrayList Indexing: Help
    U User 956892

    I tried that. Only first element (string)itemList[0] is getting printed. Suppose if count is 10, first element is getting printed 10 times. If I use System.Collections.IEnumerator myEnumerator = itemList.GetEnumerator(); while ( myEnumerator.MoveNext() ) { Console.Write( "\n{0}", myEnumerator.Current ); } I am getting correct output. Thanks & Regards, Raj

    C# database data-structures help question

  • Array List
    U User 956892

    Hi Everybody, I wrote a class like this public class Node { private int data; private string key; #region Constructors public Node(string key, int data) { this.key = key; this.data = data; } #endregion #region Public Properties public int Value { get { return data; } set { data = value; } } public string Key { get { return key; } set { key = value; } } #endregion } public class test { public static void Main() { ArrayList a = new ArrayList(); Node n = new Node("ab", 1); a.Add(n); PrintValues(a); } public static void PrintValues( IEnumerable myList ) { System.Collections.IEnumerator myEnumerator = myList.GetEnumerator(); while ( myEnumerator.MoveNext() ) Console.Write( "\t{0}", myEnumerator.Current.ToString()); Console.WriteLine(); } } My problem is How do I get and set values for each node in this Array List and How do I print out to the screen. Thanks for your help and time. Raj

    C# help data-structures question

  • How to use SortedList.Item Property
    U User 956892

    Thanks for your reply. I am new to .Net. Trying to understand these properties. DO I have to override this property. I am doing like this, but it doesn't work. In my Sorted list keys are of type string and value is of type int. public override int Item(string myKey) { get { return mySrotedList[myKey]; } set { mySortedList[myKey] = value; } } Thanks for your help and time. Raj

    C# tutorial

  • How to use SortedList.Item Property
    U User 956892

    Hi, Can somebody please tell me how to use the "Item" property in System.Collections.SortedList class. I wanted to get and set the value field depending on the key. Thanks Raj

    C# tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups