An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Script not Working for large data in C#
The arrayGroup below will be containing almost 190,000 int arrays. so filtering them to retrieve groups of arrays in the array group that have two or more common digits is taking forever. I am using the linq expression below, any ideas to make this more…
Developer technologies | C#
learning to code
how do i learn c# skills online using step by step instructions and what software will i need to install on my pc?
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
How to restrict resize of windows size in Print support app
We are developing print support app for label printer. We need to restrict the resize option of the window when user click printing preferences from printer properties. is there any option to do this?
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Mongo DB - update server to a new version
Hi, 1.I'm using Maui app in version 9, in VS 2026 , last update. 2.I'm using Mongo: with this app as follow: Server: version 7.0.3. Client (compass): version 1.42.2 There is vulnerability in server version, please see , and use Google Translate to…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
upload file to one drive
How to upload file to one drive from dot net core 10 web app
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Fabric Semantic Model - Add member to Role through API
Hi all, I am trying to develop a C# integration with Microsoft Fabric to generate semantic models programmatically (https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model). So far, I was able to create the semantic…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Enhance the way of linear search
Hi, To C# linear search below any advice to apply the following way on the above?
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Question about JSON (De)Serialization using System.Text.Json.
This is a Q about JSON (De)Serialization using System.Text.Json. There are three classes involved, abbreviated here: internal class FolderState { /// <summary> /// Stack elemens /// </summary> /// …
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Blazor - Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
Hi, I have an issue with a Blazor page. Sometimes I receive the following error message on the browser's console view: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0 This is strange, because this error message…
Developer technologies | .NET | Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML, developed by Microsoft.
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Excel Interop/DCOM to OpenXml/EPPlus
Hi, In our server side application, clients can upload .xlsm files (after they modified a macro). Then the server is using these .xslm as a model to create new file, add data in sheets and run the macro. (server is doing that as jobs at night because…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
If class variable stored in stack and object in the managed heap then where the class properties get stored in C# .NET?
If I create an Employee class and this class have 2 members EmployeeId and EmployeeName so where these properties and it's value get stored either in managed heap or stack or both in C# .NET?
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
.net sdk 5.0 setup failed. how can i fix it?
0x80070659 - This installation is forbidden by system policy. contact your system administrator but I am the administrator, this is my personal computer windows version - Windows 10 Home 21H1 19043.1110
Windows for business | Windows Client for IT Pros | Devices and deployment | Configure application groups
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
How to integrate a C# POS to payment terminal like geidea
I'm working in a C# Windows Forms POS System, and I want a way to integrate the system with the payment terminal so once i want to save the sale invoice the total amount of it will be sent to the payment terminal instead of letting the salesman do it…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
C# support in Visual Studio 2026
Is C# supported in Visual Studio 2026? I see no mention of it in the VS 2026 release description. Does Microsoft still support C#?
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Hur man löser denna uppgift i C# för årskurs 1.
Hur man löser denna uppgift i C# för årskurs 1. jag vill designa ett fönster som innehåller två stycken textboxar. I dem ska du kunna skriva in två heltal. Skapa också två etiketter(labels). När man trycker på en knapp så ska datorn sedan kontrollera om…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
TCP Listener on Localhost causes application to crash Start() without any exception being thrown
I have a use case where I am creating a TCP listener on Localhost with a specific portnumber. However , in x86 , the app crashes when I try to start the listener (i.e., listener.Start()). There is no exception being thrown and I have determined that the…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
How to attestation for verify pc security boot,... by using TPM Azure Attestation in C# Project
1.My project uses C# along with nuget: ,,,,,,,,,,,,,,,,,,,,,,,,,,,
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
How can I set my OneDrive as a Trusted Location
I am creating a VSTO Template for Microsoft Word using Visual Studio 2019. I have created a GitHub repository https://github.com/MikeWilliams-UK/Word-VSTO-Template to share generic code. I have documented my journey in getting this working in the…
Microsoft 365 and Office | Development | Other
Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Incorrect Math Result
What is wrong with this? It produces the correct result sometimes. The for loop works correctly 100% of the time. good.png bad.png static void Main(string[] args) { List<int> numbers = new List<int>() { 1, 2,…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
How to reduce JPEG file size after compressing images using C# System.Drawing in .NET 6?
I am building a web application on Azure App Service using .NET 6 and the System.Drawing.Common library. I need to upload and compress multiple JPEG images that users submit via a form. Currently, I am using the Image.Save() method with Encoder.Quality…
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.