question

  1. V1ck

    script cannot convert int?

    rSimple script i don't get the problem
  2. H

    Question Drag and Drop picture boxes

    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...
  3. R

    Resolved Help with a logical programming task

    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...
  4. M

    Resolved Value types and reference types

    Hi everyone, 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...
  5. M

    Resolved How to Implement DbSet and DbContext in Service-Repository Architecture?

    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...
  6. T

    Debug-Only Code Without Duplication

    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...
  7. K

    Question Small windows form/ colsole app application

    I doing a project that uses C# to create an application that will save student records and allow students to sign into the system and add classes to a timetable.
Top Bottom