11,805 questions with Developer technologies | C# tags

Sort by: Updated
2 answers

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#
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.

11,805 questions
asked 2026-06-17T22:46:52.22+00:00
Naji Afache 20 Reputation points
commented 2026-06-19T07:09:38.74+00:00
Nancy Vo (WICLOUD CORPORATION) 6,025 Reputation points Microsoft External Staff Moderator
2 answers

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#
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.

11,805 questions
asked 2026-06-13T11:57:10.0366667+00:00
Kieran Patel 0 Reputation points
commented 2026-06-19T03:27:25.24+00:00
Prathamesh Mandage 0 Reputation points
2 answers

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#
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.

11,805 questions
asked 2026-06-18T04:17:51.7966667+00:00
Ambigavathi Dhanapal 5 Reputation points
edited a comment 2026-06-18T10:08:22.3+00:00
Senthil kumar 685 Reputation points
2 answers One of the answers was accepted by the question author.

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#
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.

11,805 questions
asked 2025-12-31T08:58:55.19+00:00
Dani_S 5,581 Reputation points
answered 2026-06-18T07:34:21.2433333+00:00
Jack Dang (WICLOUD CORPORATION) 18,970 Reputation points Microsoft External Staff Moderator
2 answers

upload file to one drive

How to upload file to one drive from dot net core 10 web app

Developer technologies | 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.

11,805 questions
asked 2026-06-10T03:15:50.18+00:00
hirenkumar patel 0 Reputation points
commented 2026-06-18T02:11:55.6933333+00:00
Danny Nguyen (WICLOUD CORPORATION) 7,185 Reputation points Microsoft External Staff Moderator
2 answers

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#
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.

11,805 questions
asked 2025-10-03T20:36:00.5133333+00:00
Perez Lemme, Ignacio 0 Reputation points
commented 2026-06-14T02:52:19.1133333+00:00
BALAJI VENKATASUBRAMANIYAR 0 Reputation points
5 answers One of the answers was accepted by the question author.

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#
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.

11,805 questions
asked 2026-05-31T04:50:50.82+00:00
Jonathan 250 Reputation points
edited a comment 2026-06-12T07:06:29.5866667+00:00
Nancy Vo (WICLOUD CORPORATION) 6,025 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

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#
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.

11,805 questions
asked 2026-06-04T19:56:26.8533333+00:00
WoodManEXP 80 Reputation points
commented 2026-06-08T03:10:24.99+00:00
Jay Pham (WICLOUD CORPORATION) 3,800 Reputation points Microsoft External Staff Moderator
6 answers

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
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.

1,701 questions
Developer technologies | 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.

11,805 questions
asked 2022-03-29T14:57:37.95+00:00
Gábor Varga 36 Reputation points
recommended 2026-06-05T14:01:00.5733333+00:00
JuliaMarvin 19,910 Reputation points Volunteer Moderator
1 answer One of the answers was accepted by the question author.

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#
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.

11,805 questions
asked 2026-06-04T16:18:44.83+00:00
Alain PAPET 20 Reputation points
accepted 2026-06-05T12:15:12.41+00:00
Alain PAPET 20 Reputation points
3 answers

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#
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.

11,805 questions
asked 2026-05-28T17:35:32.5833333+00:00
Jairaj Kushwaha 0 Reputation points
commented 2026-06-05T03:46:50.8366667+00:00
Taki Ly (WICLOUD CORPORATION) 2,145 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

.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#
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.

11,805 questions
asked 2021-07-20T18:23:00.333+00:00
kokokorev 21 Reputation points
answered 2026-05-31T19:21:20.11+00:00
Jim Murray 0 Reputation points
1 answer

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#
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.

11,805 questions
asked 2023-09-04T19:53:43.1366667+00:00
Salah Almaqboli 10 Reputation points
answered 2026-05-29T14:47:07.0233333+00:00
Bruce (SqlWork.com) 84,086 Reputation points
3 answers

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#
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.

11,805 questions
asked 2026-05-25T22:58:31.48+00:00
Fred Saxonberg 0 Reputation points
commented 2026-05-29T10:34:45.6033333+00:00
Tom Tran (WICLOUD CORPORATION) 5,050 Reputation points Microsoft External Staff Moderator
5 answers

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#
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.

11,805 questions
asked 2026-05-20T06:52:43.9033333+00:00
Keven Day 0 Reputation points
edited a comment 2026-05-27T12:04:14.9233333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 5,025 Reputation points Microsoft External Staff
2 answers

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#
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.

11,805 questions
asked 2026-05-15T10:31:22.0333333+00:00
Anuran Gupta 0 Reputation points
commented 2026-05-25T12:09:58.4133333+00:00
Varsha Dundigalla(INFOSYS LIMITED) 5,025 Reputation points Microsoft External Staff
2 answers

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#
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.

11,805 questions
asked 2026-05-05T07:59:02.9266667+00:00
PThanh 0 Reputation points
commented 2026-05-22T02:28:25.5266667+00:00
Nancy Vo (WICLOUD CORPORATION) 6,025 Reputation points Microsoft External Staff Moderator
3 answers One of the answers was accepted by the question author.

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
Developer technologies | 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.

11,805 questions
asked 2021-07-14T10:07:23.843+00:00
Mike Williams 241 Reputation points
commented 2026-05-20T15:37:24.7833333+00:00
Garry Cross 0 Reputation points
3 answers

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#
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.

11,805 questions
asked 2026-05-06T19:19:03.1366667+00:00
Jude Grey 0 Reputation points
commented 2026-05-19T18:01:28.34+00:00
Jude Grey 0 Reputation points
1 answer One of the answers was accepted by the question author.

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#
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.

11,805 questions
asked 2026-05-11T05:37:43.6833333+00:00
Shakeel khan 25 Reputation points
edited the question 2026-05-19T07:45:14.21+00:00
Alexandra Tanasescu 0 Reputation points Moderator