| |
 |
Thursday, September 05, 2002 |
|
Use the existence of properties/attributes as a boolean value rather than the actual value.
Instead of writing code like this:
PropertyList.SetProperty("Initialized", true); . . var Initialized = false; if (PropertyList.PropertyExists("Initialized")) Initialized = PropertyList.OpenValue("Initialized"); . .
Write code like this:
PropertyList.SetProperty("Initialized", true); . . var Initialized = PropertyList.PropertyExists("Initialized"); . .
8:56:00 AM
|
|
© Copyright 2005 Paresh Suthar.
|
|
|
|
| September 2002 |
| Sun |
Mon |
Tue |
Wed |
Thu |
Fri |
Sat |
| 1 |
2 |
3 |
4 |
5 |
6 |
7 |
| 8 |
9 |
10 |
11 |
12 |
13 |
14 |
| 15 |
16 |
17 |
18 |
19 |
20 |
21 |
| 22 |
23 |
24 |
25 |
26 |
27 |
28 |
| 29 |
30 |
|
|
|
|
|
| Aug Nov |
|
|