Most viewed questions in C#

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
273 views
0 votes
1 answer

How to practice a language like C#

I believe you should begin with personal ...READ MORE

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

C# code works in Visual Studio 2019 but not in online compiler

I'm taking tests online. The code runs ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
269 views
0 votes
0 answers

How do I turn a C# object into a JSON string in .NET?

The following is my classes class MyDate { ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
269 views
0 votes
1 answer

C# or operator

This is interesting. So, there are two ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
269 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
268 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
267 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
266 views
0 votes
1 answer

Why isn't Array a generic type

They basically copied the concept of arrays ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
264 views
–1 vote
1 answer

Sound chords in C#

I am attaching this link for DirectSound ...READ MORE

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

Add new item in existing array in c#.net

In C#.net, how can I add a ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
259 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
259 views
0 votes
0 answers

With arrays, why is it the case that a[5] == 5[a]?

This property of arrays in C is ...READ MORE

Nov 17, 2022 in C# by Ashwini
• 5,430 points
255 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
254 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
253 views
0 votes
0 answers

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

Developers for.NET will soon be hired by ...READ MORE

Dec 9, 2022 in C# by Edureka
• 13,620 points
248 views
0 votes
0 answers

What is the difference between C# and .NET?

Could you please explain the distinction between ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
248 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
248 views
0 votes
1 answer

Beginners book for .NET and C#

It depends on how proficient you are ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
241 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
240 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
239 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
238 views
0 votes
1 answer

First C# program with two Classes. Confused

I figured out where your problem is Craps ...READ MORE

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

Rich Text Editor on a web page

May somebody lead me in the correct ...READ MORE

Sep 27, 2022 in C# by krishna
• 2,820 points
232 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
230 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
229 views
0 votes
0 answers

oops concept query

This is my oops question. This is my ...READ MORE

Jun 11, 2022 in C# by jyoti
• 1,240 points
222 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
222 views
0 votes
0 answers

Compiling New C# Versions (C# 7.0 Higher) From The Command Line

I encounter the following issue and/or warning ...READ MORE

Sep 27, 2022 in C# by krishna
• 2,820 points
220 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
220 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
216 views
0 votes
0 answers

How do I determine the size of my array in C?

How do I figure out my array's ...READ MORE

Nov 16, 2022 in C# by Ashwini
• 5,430 points
214 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
213 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
201 views
0 votes
0 answers

What's the strangest corner case you've seen in C# or .NET?

I have a small collection of puzzles ...READ MORE

Dec 12, 2022 in C# by Roshan
• 300 points
199 views
0 votes
0 answers

Learning C from a background in C#

I'd like to increase my programming expertise, ...READ MORE

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

ReverseString, a C# interview-question

I was asked for my 'input' on ...READ MORE

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

oops concept query

This is my oops query. This is my ...READ MORE

Sep 27, 2022 in C# by krishna
• 2,820 points
183 views
0 votes
0 answers

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

As the title states, what are the ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
183 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
155 views
0 votes
0 answers

programming logic! :O

I am inside script task of SSIS. ...READ MORE

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