Function that works as assignment too - vb.net -


how can make function in class able support : (kinda assignment)

dim ko integer = cell(x,y) 

and

cell(c,y) = 3 

kindest regards, adoloul

*nota : works in vb, sure, ur turn verify in ur language

ok nope don't search anymore, fund using dotnotpearls

i have use property setters , getters

public property cell(byval x integer, byval y integer) integer             return cells(x, y)     end     set(value integer)         cells(x, y) = value     end set end property 
  • don't remove post, 'should usefull anyone!

;)


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -