Jimmacle
Jimmacle
CC#
Created by V0FBU1VM on 11/26/2024 in #help
Time conversion issue?
unless shifts can be longer than 24 hours timeonly would probably be fine?
11 replies
CC#
Created by V0FBU1VM on 11/26/2024 in #help
Time conversion issue?
it depends, do you need to account for time zone changes when handling them?
11 replies
CC#
Created by V0FBU1VM on 11/26/2024 in #help
Time conversion issue?
there is probably an issue with differences in the time set on the different machines
11 replies
CC#
Created by V0FBU1VM on 11/26/2024 in #help
Time conversion issue?
i recommend not using datetime, use datetimeoffset at least because that actually stores offset information
11 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
you created the project incorrectly, the error says what you did wrong
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
you should only have Program.cs
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
it looks like you tried to add another file to your project with a different program in it, which doesn't work
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
you have compilation errors in your code, which means the code that's running isn't the code you have
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
because the first one is 0
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
there are 4 elements, but the index only goes up to 3
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
look at this part
int[] array2 = new int[4];
array2[0] = 4;
array2[1] = 12;
array2[2] = 7;
array2[3] = 4;
int[] array2 = new int[4];
array2[0] = 4;
array2[1] = 12;
array2[2] = 7;
array2[3] = 4;
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
but in general, array.Length - 1 will give you the index of the last element in the array
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
int[] array2 = new int[4];
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
array2.Length is 4
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
try to break it down, what would array2.Length - 1 be?
37 replies
CC#
Created by brdzga on 11/26/2024 in #help
✅ I can't understand
what's the first part that confuses you?
37 replies
CC#
Created by Alexis 🫐 on 11/25/2024 in #help
Json string to a class object but not {get; set; } !
so check what's actually in response
93 replies
CC#
Created by Alexis 🫐 on 11/25/2024 in #help
Json string to a class object but not {get; set; } !
because the first character in it is a P
93 replies
CC#
Created by Alexis 🫐 on 11/25/2024 in #help
Json string to a class object but not {get; set; } !
it's saying the JSON is invalid
93 replies
CC#
Created by Alexis 🫐 on 11/25/2024 in #help
Json string to a class object but not {get; set; } !
i love non-standard apis
93 replies