Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Structure and class usage
September 05, 2010
If i want to use structure in ASP.net, i can Declare a structre with in the Class and also outside the class. which is better?
Posted Date: September 28, 2010 Points: 5
Outside the class is better if you need to reuse it.
Otherwise you have to use the class name prefix to access it like ClassName.StructName
To post reply
Related Questions Related Questions
what really differs an abstract class from interface and vice versa
when can i go for abstract class and when interface
What is Partial Class
Error in Web Setup Project while using Installer Class aError in Web Setup Project while using Installer Class and Custom Actions "Object reference not set to an instance of an object"nd Custom Actions "Object reference not set to an instance
what is the benefits of partial class
Presenting Hierarchical structure in sqlserver
What is Singleton class?
What is the use of Partial class in .NET
Latest Forum Questions From The Same Category
Slash(/) in Combobox
attaching the report in the web page
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend