How to make a method in C# that make a list of all the primes under an int

This is my question Can you help writing this code??!

13th Sep 2022, 11:28 PM
TheMasterBee - avatar
2 Answers
Hello TheMasterBee, Can you please put C# (the relevant programming language) in post tags for context clarity? https://code.sololearn.com/W3uiji9X28C1/?ref=app I'm not understanding what you meant by "under an int" there. Can you add clarification about it in post Description? I hope with that extra info people can better understand, and therefore can suggest you accordingly đź‘Ť
14th Sep 2022, 4:33 AM
To reduce energy waste, import a prime list is the most convenient and easy method.
14th Sep 2022, 9:16 AM
abpatrick catkilltsoi
abpatrick catkilltsoi - avatar