|
|
submitted by
djsolid
2 months, 5 days ago
weblogs.asp.net — Many times I needed to set a default value for a property.
For example at the property below
public string Property1 {get; set;}
I wanted a default value "Value1". The only way was to create a private field or to set it in code like Property1 = "Value1" somewhere.
|
|
tags:
C# | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking
the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
No comments so far
|