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 ...
No comments yet, be the first one to post comment.