1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

new Struct?

Discussion in 'C#' started by Syneris, Sep 3, 2010.

  1. Syneris

    Syneris New Member

    Sep 3, 2010
    Likes Received:
    Trophy Points:
    I was in a discussion about using new on structs and no one was able to be exactly sure what happens. What does it do? Does it allocate a new block of memory every time you call new on an existing struct variable or just set the values to default? The MSDN isn't very clear on this.

Share This Page