I'm working on very large piece of software that dynamically loads and uses a handful of dlls at runtime. VS 2022 compiles and runs this software without any is
Xamarin Forms 4.0 recently released a CollectionView that lets us scroll to a specific item in a collectionView. I have a collection view with 10 items in it t
I want to achieve almost something similar here. I want a control that supports both images or video. This will play for some duration. I am able to show the v
In EF6, this method works to retrieve an entity's navigation properties: private List<PropertyInfo> GetNavigationProperties<T>(DbContext context) w
I have changed my Register Action Method to accept user Name instead of Email. if (ModelState.IsValid) { var user = new ApplicationUser { User
In my Unity 2D game, I have a character with a lightsource component 'Light 2D(Script)' from the Lightweight RP package. I want to change the intensity of the
I have updated to the latest .NET 5 SDK 5.0.101 but it seems the CSC compiler is unaware of the existence of C# 9. I have tried using C# 9 features (like init-s
I have developed a .Net C# based website, which is dependent mostly on Oracle database. To access the DB I have been using Oracle ODAC 11G. (Oracle.DataAccess.d
Validation is done in ASP.NET Core-6 Web API using Fluent Validation. So, I have this code: Custom Validator: public static IRuleBuilder<T, string> Custom
I am currently developing an Outlook VSTO-AddIn using C#. I want to read certain attributes of each mailItem. (E.g. SenderName, SenderEmailAdress, etc. .. ) As
I'm trying to call an API which was associated with OAuth 1.0 version. From the postman wen I tried by passing the header param "Authorization" It's value is as
I have a ProfilePage.xaml containing some ImageButtons like these (six of them): <ImageButton x:Name="resultImage" Source="{Binding Profile.Images[0].Sou
I am trying to incorporate leaderboards into my UWP game. I am using C# and XAML to create my game. I have created a high score leaderboard and have pushed it w
I'm having a problem with simple UDP packet receive from a device connected remotely via Windows mobile hotspot. The device (an esp32 wifi board) connects to th
I'm using the below link for mocking the FromSql method in x unit How could I Mock the FromSql() method? I'm getting the below error for the method which uses
i'm working on a calculator project for my school. i have a problem with overwriting my operations to a text document, normally i should have
I've a solution with three projects in it: 2 C# WPF projects and 1 WIX project to create an installer. I've set up a build pipeline on Azure DevOps that referen
I'm a beginner who is learning .NET. I tried parsing my integer in console readline but it shows a format exception. My code: using System; namespace inputo
I have a C# project in Visual Studio 2019 that I wish to export as a .EXE file. I have already run it in 'Release' Mode, but no .exe turns up in the 'bin' folde
I created a new file, set the C# language, and wrote some code. Then I pressed Ctrl + Shift + F (or F1 → Format Document). And got I the error Sorry, b