Bronya
Bronya
CC#
Created by Bronya on 9/13/2024 in #help
How to make this Field into Property
I see... thx!
4 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
since local function can access local variable in the method
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
the properties in Func1Field class will be put inside the Func1 method as local variable
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
ok so, I'm thinking of making the methods in Function1, Function2, and so on into local function and move it inside Func1, Func2, and so on
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
yeah, that is what I do before. but because each Func use lots of field, and their name sometimes similar, it sometimes confuse me
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
or something to separate them
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
which is why I want them to be their own class if possible
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
the problem with that is each Func1, Func2, and so on actually very big. so if I make them all inside CSVData it will be very very big big class.
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
ok thx, I guess I won't be using static class
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
hmm... you are right...
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
like I will probably do
var f1 = new Foo1(csvData);
csvData = f1.Blah();
var f2 = new Foo2(csvData);
csvData = f2.Blah();
var f3 = new Foo3(csvData);
csvData = f3.Blah();
var f1 = new Foo1(csvData);
csvData = f1.Blah();
var f2 = new Foo2(csvData);
csvData = f2.Blah();
var f3 = new Foo3(csvData);
csvData = f3.Blah();
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
it's actually what I do before, but feel like unnecessary to create a variable that will only be used once for one method too
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
so this way better?
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
so without ref I can still do Func1(csvData);?
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
because it's static, I heard static property and field is bad, especially if I need many of them
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
so I can do Func1(csvData); instead of csvData = Func1(csvData);
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
hmm... you are right
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
that look like function no?
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
like Func1(csvData);
39 replies
CC#
Created by Bronya on 9/12/2024 in #help
thinking how my code should look like
because i use it like function
39 replies