TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
geeta_tr
NA
6
0
Structures in C#
Mar 24 2004 12:39 PM
Hi, I am beginner in C# i am currently working on Structures in C# i found the following stmt in MSDN for structures in C# It is an error to declare a default (parameterless) constructor for a struct. A default constructor is always provided to initialize the struct members to their default values. i was able o catch the first sentence of it. But the second sentence i am not able to understand i tried with following example like public struct xxx { public int i,k; public xxx() { i=0; /* as per second sentence i feel this should excute but its giving error */ k=0; } } can anyone help me Thanks in advance Gets
Reply
Answers (
2
)
OpenGL and C#?
Port stays "ESTABLISHED" on app exit