Trending questions in C#

0 votes
1 answer

Correct syntax for main method

Both ways are correct. But taking the ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
813 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
646 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
549 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
547 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
791 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
679 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
544 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
616 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
591 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
656 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
566 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
559 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
556 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 596 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
587 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
531 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
659 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
524 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
594 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
507 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
952 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
611 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
948 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
466 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
459 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
922 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
743 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
426 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
900 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
570 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
566 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
408 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
557 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
524 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
688 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
821 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
333 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
463 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
765 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
759 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
560 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
524 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
628 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
542 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 23 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 22 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 22 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 21 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 21 views
0 votes
0 answers

What is the C# Using block and why should I use it

In C#, what is the use of ...READ MORE

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

edited Mar 4 20 views