2
Shouts

Structure Initialization in C

published 826 days, 11 hours, 11 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 829 days, 1 hour, 56 minutes ago
Tuesday, February 15, 2011 7:56:46 PM GMT Sunday, February 13, 2011 5:11:00 AM GMT

Structure in C# allows us to group the variables and methods. Its some what similar to classes but that's not true there are no. of difference between class and structure. But here in this post I am not going to discuss about that, here I am going to explain how to Initialize Structure.

Facts:

   1. Structure is Value type.

   2. D# oesn't allows to create parameter less constructor because its initialize the variable with the default values. 

Now consider the below case where I have created ...

category: How To | clicked: 0 | | source: pranayamr.blogspot.com | show counter code
tags: C#

No comments yet, be the first one to post comment.

To post your comment please login or signup