I have this jagged array in C#:
private static readonly float[][] Numbers = {
new float[]{ 0.3f, 0.4f, 0.5}};
How can I override the value?
public static void SetNewNumbers(float[][] num){
Numbers = num;}
This is not working because of readonly,what should be added? ( I cant change anything about Numbers)
You can reassign each value in
Numbers
assuming the new array matches: