Can array index be floating in C#.net? -
Can array index be floating in C#.net? -
i have array in c#, , logic stuck , can work if can have floating indexes.
can day 0.5 or 2.5 that
days[day, col]=1;
please allow me know solution
you can write indexers using type like, e.g.
public double this[double x, int y] { { ... } set { ... } } you can't index array non-integer though.
c# .net asp.net
Comments
Post a Comment