Hey, I recently wanted to get back into programming, but my only experience was simple Java and python from my school classes, the farthest we really went was covering the basics such as syntax, but I'd like some pointers or good resources to learn C# as it's the language I'm really interested...
int g = 1
while (g <= 10)
Will the 'g' variable stay 10 for any code past the while loop or will it return to its original value of 1? Curious about bool/string/etc values as well.
I'm not sure if this is the right section for posting a help request but hopefully someone can help me out.
What is the best way to do a foreach loop to get each item from a string array and fill increasing indexed item of different string array
example and my guess as to how i figure it...
Hello. I'm looking for a simple drag and drop game. The main idea is to show some simple mathematic equation like 2+2 and what I want to do is to show 3 random answers (from 1 to 9) where one of them is correct. To answer the equation, I want the picturebox to be dropped into specified square...
Hi. I need your help with a small logic problem. The essence of the task:
There are numbers from 1 to N, N = 50, you need to divide the numbers into several groups
so if one number is divided by another, then these numbers fall into different groups.
The result of this partition is M groups...
First question here...
If I'm correct, String is a reference datatype, right?
See my code below:
String nameOne = "Matthew";
String nameTwo = nameOne;
nameOne = "Andrew";
In the end, I should expect both nameOne and nameTwo to be Andrew...
I am updating my .NET Core web app from just MVC to a Service-Repository pattern.
My question is, how do you implement DbSet<> when you add the Service and Repository layers?
I originally added these to my ApplicationDbContext file under the Data folder. Is this still correct? Then would I just...
I'm trying to write something similar to the existing Debug class that allows clients to explicitly verify pre- and post-conditions of their methods. For example, to check a precondition that the input variable to a method is not equal to 0, one would use Expects.IsGreaterThan(input, 0), and...