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

Tag: csharp

Coding

Why is it still so difficult to enable nullability reference types?

Title Edit: Should have more closely reviewed my title: title is referring to “nullable reference types,” not “nullability reference types.” Introduced in C# 8.0, I would say that nullable reference types were somewhat quietly introduced Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Need a way to remember how to use LINQ Aggregate

Look, I’ve been programming the LINQ operators in C# since they began and have been quick to adopt them, but I ALWAYS forget how to use Aggregate. I end up searching in my code for Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Before I get too far, should I ditch Winforms and learn WPF?

I’m developing a desktop application for managing vehicles, equipment, material, and personnel in a company. I’m at a point where I can insert and query well enough, my database is normalized to well beyond 3NF, Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Dependency Injection Within a Console Application

I use SimpleInjector in WPF applications and it would be applicable for console applications as well. The procedure in video is nice tho, didnt know you can use it like that I used SimpleInjector too! Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Console application, OAuth confusion

C# absolute beginner here, coming from PHP. I am writing a C# Console Application that fetches upcoming [GoToWebinars](https://developer.goto.com/GoToWebinarV2/) and stores them in a database. For Oauth it seems I need to make a call to Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Simpler way to get property name and class name

I have this line of code: nameof(Class) + "." + nameof(Class.Property). Is there a simpler way to write this? Can I write an extension for this?I can’t think of a way of simplifying it. You Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Is it possible to check for errors in code before they actually happen?

I was wanting to know if it would be possible to check for an error in a certain line of code before you run it, so that, for example, the program could notify the user Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

What do you wish you’d known sooner about C#?

Something you think you should have known earlier? That thing that made it all click? Tips that made your life easier? Not about C# specifically, but I wish I had known how important the separation Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Help with windows forms

So im trying to connect to an sql server database and i have to type in the connection string but the problem is idk how to format the string since it has the path to Read more…

By Umar Khan, 4 years ago January 4, 2021
Coding

Repository of C# Naming Conventions (ktaranov github)

Solid list. Having the tool that checks all this would be awesome. You mean a linter? Rssharper check it all I think Curly braces in the new line are not as important as other things. Read more…

By Umar Khan, 4 years ago January 4, 2021

Posts pagination

Previous 1 … 6 7 8 … 19 Next
Recent Posts
  • Google I/O’s Android Show: live updates and announcements
  • Google I/O’s Android Show: live updates and announcements
  • Cocomelon makes the jump from YouTube to theaters with new movie
  • Cocomelon makes the jump from YouTube to theaters with new movie
  • Most Best Buys will have extra Switch 2 stock on launch day
Recent Comments
    Archives
    • 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