M
macneed
how can i declare a variable inside a if case?
if(today != recordday)
{
string[] NewRecordOfToday;
}
.. other work...
..
..
if(today != recordday)
{
NewRecordOfToday[0] = "Fine";
]
and the variable can USE outside of if { }
if the if case not pass, the variable doesn't need...
THANK!!
if(today != recordday)
{
string[] NewRecordOfToday;
}
.. other work...
..
..
if(today != recordday)
{
NewRecordOfToday[0] = "Fine";
]
and the variable can USE outside of if { }
if the if case not pass, the variable doesn't need...
THANK!!