C
C#

help

how do i count how much a user input the same number

SSquirtle9/29/2022
want to create a program that makes the user input some numbers and then count how many times the user put into the same number
PPobiega9/29/2022
What have you tried?
SSquirtle9/29/2022
i have made the program but dont know how to get what the user has typed earleir
PPobiega9/29/2022
Show your code
SSquirtle9/29/2022
it is on swedish
PPobiega9/29/2022
Thats fine
SSquirtle9/29/2022
but can translate it if you wanna where should i copy it
PPobiega9/29/2022
Click my name 🙂 $code
MMODiX9/29/2022
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat If your code is too long, post it to: https://paste.mod.gg/
SSquirtle9/29/2022
oh hahahaha
SSquirtle9/29/2022
BlazeBin - njhyotweofef
A tool for sharing your source code with the world!
SSquirtle9/29/2022
BlazeBin - psttwwwywjdt
A tool for sharing your source code with the world!
SSquirtle9/29/2022
it is that one the earlier had the text not changed it
PPobiega9/29/2022
Alright, so you read a whole bunch of numbers, and at glance it seems to work so whats the problem? you have stored their numbers in an int array called siffra
SSquirtle9/29/2022
yeah
PPobiega9/29/2022
so whats not working properly? what do you not know how to do?

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Creating an Array of strings from a stringified JSONSo I have this kind of JSON structure: ```json { "sourceJson": [ { "BookID": "1", im coding a guessing game but got an error [Answered]does anyone know how to fix this errorHow to use .NET 7 preview?I am trying to use .NET7 (Version: `7.0.100-preview.7.22377.5`) and I am using VS 2022 (latest previsource and targetSay I have two `Dictionary<string,JValue>` items. and I want to return a new `JsonConvert.SerializeOSending email SMTP[Answered]I am trying to send an email using SMTP. The backend works, and i can send emails via Swagger. But iExecute multiple steps with error checking [Answered]I have multiple steps that would be executed one by one with error checking after completing each stWindow opacity isn't being affected?I have a button click method over here that should set a window to opaque: ```cs private voiCoding winforms on ubuntu? is it possible now? if yes how?Can I work with winforms on ubuntu? I know winforms used to be limited to windows only, is it still System.Net.Sockets spookynessHello! : I've been tasked with updating our web app backend to .net 6 and I am almost done. HoweveINotifyDataErrorInfo helpWhen using the implementation for INotifyDataErrorInfo, is it possible when raising errors change evHow to pass value to parameter that require IEnumable string [Answered]Help me with the syntaxIs Array.Copy decent for copying sections of memory?I'm making a thing which relies pretty heavily on copying (not very large) sections of memory insideRelationship between Microsoft.AspNetCore.Identity.EntityFrameworkCore and AADHey guys, I read a bunch of Azure Active Directory documents and see that they recommend us not to sMSIX URI is inaccessible in AppinstallerHello, I have an Appinstaller and MSIX hosted in a public Google Cloud Storage bucket, meaning theyI'm having problems with a range of numbers and random generator (im new)I have an array of number (1-50, scaled), where one will be selected randomly and then every number EFCore Updating an item after mapping with AutomapperHey I am using Ef core to store some data in sqlite. I need to translate it to another object to shoIs it possible to allow an installer to downgrade dll's while not overwriting other app files?When creating an installer. (using Wix) Is there a way to have better control over the reinstall proIs there any way to simplify this, or a design pattern I should be following?```cs public event EventHandler<FizzbuzzDetermineNumberRequest>? DetermineNumberRequestHandlers; How to get service that not registed with interfaceHelpAssigning all StackPanel child element marginI am trying to set the margin for all elements in stackpanel from resor. Can you point out why it's