Trending questions in C#

0 votes
0 answers

Compress existing PDF using C# programming using freeware libraries

I've been looking for ways to compress ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
672 views
0 votes
1 answer

What does the '=>' syntax in C# mean

Here's a simple MSDN example. delegate int del(int ...READ MORE

Jun 14, 2022 in C# by krishna
• 2,820 points
562 views
0 votes
1 answer

How to enumerate an enum

foreach (Suit suit in (Suit[]) Enum.GetValues(typeof(Suit))) { } Note that ...READ MORE

Jun 14, 2022 in C# by jyoti
• 1,240 points
561 views
0 votes
0 answers

Creating a generic method in C#

I'm attempting to integrate several comparable techniques ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
655 views
0 votes
1 answer

What is the difference between C# and .NET?

C# is a programming language, and.NET refers ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
798 views
0 votes
1 answer

Datatypes in C#

You might be beginner I think. Go ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
691 views
0 votes
1 answer

Switch case: can I use a range instead of a one number

To categorise your switch circumstances, I would ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
551 views
0 votes
0 answers

Declaring Thread in a Constructor in C#

I'm learning about threads and how to ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
626 views
0 votes
0 answers

How to create dependency injection for ASP.NET MVC 5

It's simple to create Dependency Injection using ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
598 views
0 votes
1 answer

Need a fast C# tutorial for (short-term) non-.Net programmers

First use this link http://www.thinkingparallel.com/2007/03/06/c-vs-c-a-checklist-from-a-c-programmers-point-of-view/ Second, ask them ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
666 views
0 votes
0 answers

How to do a LIKE query with linq

How can I use Linq to conduct ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
573 views
0 votes
0 answers

What are the differences between C#.net and Visual Basic.net

I have some VB.net expertise and would ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
570 views
0 votes
0 answers

C# Threading in real-world apps

Learning about threading is indeed fascinating, and ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
568 views
0 votes
1 answer

What are major differences between C# and Java

Instead of listing out mutiple points, I ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points

edited Jul 4, 2023 by Khan Sarfaraz 603 views
0 votes
1 answer

.NET fiddle error when invoking Castle Windsor

It does, in fact, have something to ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
597 views
0 votes
0 answers

Abstract Class:-Real Time Example

In a recent interview, I was asked ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
538 views
0 votes
1 answer

Multiple Inheritance in C#

The.net Framework CLR and C# hasn't been ...READ MORE

Jun 7, 2022 in C# by rajiv
• 1,620 points
667 views
0 votes
0 answers

What does <T> represent in C# syntax

What is the meaning of the following ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
531 views
0 votes
1 answer

Build a bot in Azure online code editor

Restart the Web App Bot and the ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
604 views
0 votes
0 answers

Using Stopwatch in C#

Is there a way to incorporate a ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
511 views
0 votes
1 answer

Convert VB.NET --> C# Projects

You may decompile whole Assemblies into Visual ...READ MORE

May 31, 2022 in C# by anonymous
959 views
0 votes
1 answer

Is a Library a project or a C# source code file in Visual Studio?

A library project is a collection of ...READ MORE

Jun 7, 2022 in C# by rajiv
• 1,620 points
627 views
0 votes
0 answers

When to use an interface instead of an abstract class and vice versa

This could be an OOP question in ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
476 views
0 votes
1 answer

Questions every good .NET developer should be able to answer?

If I were interviewing someone who knew ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
957 views
0 votes
0 answers

Can a C# program be cross-platform

I'm a complete beginner when it comes ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
468 views
0 votes
1 answer

Mono C# tutorial?

For learning the language, any C# tutorial ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
932 views
0 votes
1 answer

What are the differences between C, C# and C++ in terms of real-world applications?

C is a bare-bones, straightforward, and clean ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
929 views
0 votes
1 answer

A good and complete tutorial about reflection in .NET?

You can use this https://www.ecma-international.org/publications-and-standards/standards/ecma-335/ to understand ...READ MORE

Jun 6, 2022 in C# by pranav
• 2,590 points
755 views
0 votes
0 answers

How can I split a string with a string delimiter

Suppose this is my string My name is ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
433 views
0 votes
1 answer

Which version of C# am I using

From developer cmd, type this csc -langversion:? This will ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
581 views
0 votes
1 answer

Origin of the C# language name

The '#' is actually a musical sharp ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
578 views
0 votes
0 answers

What is the { get; set; } syntax in C#

I'm learning ASP.NET MVC, and while I ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
419 views
0 votes
1 answer

How to iterate over a dictionary?

I have seen this being used. In ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
570 views
0 votes
1 answer

C# Potential Interview Question…Too hard?

This isn't a question I'd ask in ...READ MORE

Jun 7, 2022 in C# by rajiv
• 1,620 points
531 views
0 votes
1 answer

C# books or web sites for C++

I would recommend checking out C# in ...READ MORE

Jun 6, 2022 in C# by pranav
• 2,590 points
695 views
0 votes
1 answer

Convert VB.NET --> C# Projects

You may decompile whole Assemblies into Visual ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
835 views
0 votes
0 answers

What are Extension Methods

In .NET, what are the extensions? READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
342 views
0 votes
1 answer

Good C# interview questions book

If you're simply familiar with the foundations ...READ MORE

Jun 7, 2022 in C# by rajiv
• 1,620 points
470 views
0 votes
1 answer

Rich Text Editor on a web page

Perhaps something along the lines of TinyMCE ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
781 views
0 votes
1 answer

Why program working differently on every run when using async?

You can use the async Main method ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
770 views
0 votes
1 answer

.NET Guitar Chord Library

It is true that finding something is ...READ MORE

Jun 6, 2022 in C# by pranav
• 2,590 points
577 views
0 votes
1 answer

Why does one use dependency injection?

I believe that many people are perplexed ...READ MORE

Jun 6, 2022 in C# by pranav
• 2,590 points
534 views
0 votes
1 answer

C# - Can someone please show me a very simple example of Interfaces

Take this as example interface IFlyable { ...READ MORE

May 30, 2022 in C# by rajiv
• 1,620 points
641 views
0 votes
1 answer

What are the correct version numbers for C#?

On Wikipedia, you may find the most ...READ MORE

May 31, 2022 in C# by rajiv
• 1,620 points
555 views
0 votes
0 answers

How to get a list of existing topics in an Azure EventGrid Domain in C#

In C#, what is the most efficient ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points

edited Mar 4 32 views
0 votes
0 answers

What is a good C# ASP.NET MVC question to ask a prospective employee

For our ASP.NET MVC projects, I'm preparing ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points

edited Mar 4 32 views
0 votes
0 answers

What's the early history of the .Net framework?

What is the.Net framework's early development history? ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points

edited Mar 4 29 views
0 votes
0 answers

Why implement interface explicitly

So, what is a solid use case ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points

edited Mar 4 29 views
0 votes
0 answers

C# interview question

I need assistance with an interview question. You ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points

edited Mar 4 28 views
0 votes
0 answers

Looking for a few good C# interview problems

I don't want to ask candidates questions; ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points

edited Mar 4 28 views