Fancy Hints

  • Home
  • Blog
  • Coding
    • .Net
    • Csharp
    • iOS
    • CSS
    • Python
    • Java
    • Node.js
    • jquery
    • Javascript
    • Android
    • PHP
  • Tech
    • Systems
    • Digital
    • Computer Science
    • Security
    • Hosting
    • Website
    • Mobile
  • Donate

Category: Csharp

Coding

Hello, I’ve been given a simple C# task. I need to sort and display to console. Should I use VSCode or should I use an IDE?

edit: just to clarify, I won’t be using the library for sorting but will have to implement the sorting itself. You could’ve written the program in VS in the time it took to ask this Read more…

By , 5 years ago November 30, 2020
Coding

Someone explain Gets and Sets for me pls!

I’m an A level computer science student and I’m falling behind in my class because I don’t know c# as well as other students. Please can someone explain gets and sets and explain where and Read more…

By , 5 years ago November 30, 2020
Coding

cast operator and how to use them efficently

So, previously I did that if (instance is typeA) return (instance as typeA).CustomProperty; if (instance is TypeB) return (instance as TypeB).CustomProperty; if (instance is TypeC) return (instance as TypeC).CustomProperty; But with newer c#, we can Read more…

By , 5 years ago November 30, 2020
.Net

Would the use of a marker interface here be a code smell?

Context: Implementing StateMachines that control character states in a game. I have an interface named IState. Implementations of IState register with an implementation of IStateMachine. In the IStateMachine implementation I need to have two separate Read more…

By , 5 years ago November 30, 2020
Coding

Help Wanted: Looking for anyone with C# skills of any level to correct bugs found in a server emulator that allows the mid 2000s social gaming network Xfire to connect to a hosted server

link the repo; I remember watching a cool Xfire documentery and this has my curiousity piqued https://github.com/darcymiranda/PFire If you PM, I’ll give you the motivation you need. Let’s talk. You really aren’t using github to Read more…

By , 5 years ago November 30, 2020
Coding

Help! Why will it not generate other results?

There’s not enough information to really answer this properly, but if I were to guess: You’re probably doing “new Random()” for each call to Newnum(), which means that time between each initialization is so short Read more…

By , 5 years ago November 30, 2020
Coding

Is there a way to fix spacing with strings in CSharp?

I know that this can be done: How can I add spacing here so that the string has spacing? What I need to do is something like this: Can you elaborate? You question is very Read more…

By , 5 years ago November 30, 2020
Coding

Is event sourcing a good option for my use case?

My requirement is to make a small online game where each game lasts an hour or so, and has to log what happens during the game for a report. The game clock can be paused Read more…

By , 5 years ago November 30, 2020
Coding

When I enter the terms the program returns a NaN (I’m a beginner) – Does anyone know why?

Math.Sqrt would give NaN if delta is negative. As a sidenote, Math.Sqrt returns double. You do not have to convert that to double after. Nice! I forgot about that one. It’s indeed possible that D Read more…

By , 5 years ago November 30, 2020
.Net

Help wanted for overlay app project

I’ve started a project about an app which is using YouTube API so I can control the music, I listen, while gaming. I got approved for using YouTube API but I’m not so sure how Read more…

By , 5 years ago November 30, 2020

Posts pagination

Previous 1 … 61 62 63 … 66 Next
Recent Posts
  • AUD/USD Daily Report
  • USD/JPY Daily Outlook
  • USD/CHF Daily Outlook
  • GBP/USD Daily Outlook
  • Chart Alert: WTI Crude Oil at Risk of Mean Reversion Decline Below $102.25 after 5% Spike
Recent Comments
    Archives
    • April 2026
    • March 2026
    • February 2026
    • January 2026
    • December 2025
    • November 2025
    • October 2025
    • September 2025
    • August 2025
    • July 2025
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • June 2022
    • May 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • June 2019
    • May 2019
    • July 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    Categories
    • .Net
    • Android
    • Architecture
    • BigData
    • c++
    • Cloud
    • COBOL
    • Coding
    • Computer Science
    • Cross-Platform
    • crypto
    • Cryptocurrencies
    • Csharp
    • CSS
    • Data science
    • digital
    • Email
    • English
    • Hosting
    • HTML
    • Investments
    • iOS
    • Java
    • Javascript
    • jquery
    • Machine Learning
    • Mobile
    • Node.js
    • PHP
    • Programming
    • Python
    • Security
    • SQL
    • Systems
    • Tech
    • Uncategorized
    • Web-services
    • Website
    • Home
    • Blog
    • Coding
    • Tech
    • Donate
    Hestia | Powered by WordPress