Menu

#8 repeated values

open
nobody
None
5
2008-03-11
2008-03-11
No

When I fill this snippet, I have to type values that are repeated:

$ _$;
public $ $ {
get { return _$; }
set { _$ = value; }
}

Result (for example):

int _Abc;
public int Abc {
get { return _Abc; }
set { _Abc = value; }
}

Repeated values are "int" and "Abc" here. This is enough of information. So, I propose to implement something like this:

$1 _$2;
public $1 $2 {
get { return _$2; }
set { _$2 = value; }
}

Thanks!

Discussion


Log in to post a comment.