• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Need to hire someone

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by mudskipper View Post
    System.Xml.Serialization.XmlSerializer x = new System.Xml.Serialization.XmlSerializer(DoodabsObje ct.GetType());
    x.Serialize(Console.Out, DoodabsObject);
    And how does DoodabsObject get defined?
    While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

    Comment


      Originally posted by doodab View Post
      And how does DoodabsObject get defined?
      By it's type (C# class). Internally the XmlSerializer uses reflection.

      Comment


        Originally posted by DimPrawn View Post
        By it's type (C# class). Internally the XmlSerializer uses reflection.
        How does the type get created?
        While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

        Comment


          Originally posted by doodab View Post
          How does the type get created?
          You did define it in the first place?
          merely at clientco for the entertainment

          Comment


            Is this turning into a Java Vs C# debate ?
            Vote Corbyn ! Save this country !

            Comment


              Originally posted by fullyautomatix View Post
              Is this turning into a Java Vs C# debate ?
              I do hope so

              Comment


                Originally posted by doodab View Post
                How does the type get created?
                It's defined in the IL in the assembly that defines the type.

                Comment


                  Originally posted by DimPrawn View Post
                  It's defined in the Common Intermediate Library in the assembly that defines the type.
                  FTFY to help Java developers of little brain.
                  merely at clientco for the entertainment

                  Comment


                    Originally posted by eek View Post
                    You did define it in the first place?
                    How would you marshall and unmarshall java objects to/from XML if you aren't allowed to use JAXB or otherwise analyze schemas at compile time?
                    If your solution to this problem requires a new type to be defined, how do you define it?
                    While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

                    Comment


                      Originally posted by fullyautomatix View Post
                      Is this turning into a Java Vs C# debate ?
                      that's pretty good for general by now I was expecting bleeding radiators up the OXO tower.

                      Comment

                      Working...
                      X