Most voted questions in C#

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
0 answers

How Convert VB Project to C#

I have a VB project that has ...READ MORE

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

Questions every good .NET developer should be able to answer

I have these two great links for ...READ MORE

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

How to quickly code and run small C# code

I personally use this LINQPad for this. ...READ MORE

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

Are there any suggestions for developing a C# coding standards / best practices document

I would ask you to start out ...READ MORE

Jun 23, 2022 in C# by krishna
• 2,820 points
303 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

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

When should you use C# indexers

First, let's talk about indexer. Class (or struct) ...READ MORE

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

What is cool about generics, why use them

Okay. For simplification, I am listing it ...READ MORE

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

How many files are created when a C program is executed

It depends. Depending on the compiler type ...READ MORE

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

What does the extension method do in c# and why do you need it

Extension Methods allow you to add additional ...READ MORE

Jun 21, 2022 in C# by krishna
• 2,820 points
425 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
0 votes
1 answer

What is the difference between a field and a property

The internal workings of a class should ...READ MORE

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

What is LINQ and what does it do

LINQ or Language Integrated Query may refer to: a ...READ MORE

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

Encapsulation vs abstraction real world example

Encapsulation is a technique for "information concealment," ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
12,709 views
0 votes
1 answer

How to find the extension of a file in C#

Go to here https://docs.microsoft.com/en-us/dotnet/api/system.io.path.getextension?redirectedfrom=MSDN&view=net-6.0#System_IO_Path_GetExtension_System_String_ string myFilePath = @"C:\MyFile.txt"; string ext ...READ MORE

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

C++ interview preparation

I am assuming that this phone interview ...READ MORE

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

Selenium C# tests in Browserstack

Try this and make changes according to ...READ MORE

Jun 21, 2022 in C# by jyoti
• 1,240 points
428 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
1 answer

When to use abstract classes

When you need a class for inheritance ...READ MORE

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

Awesome ASP.NET and C# tutorials for beginners

Go here https://dotnet.microsoft.com/en-us/learn/aspnet They have some nice tutorials ...READ MORE

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

Object Oriented Programming Basic Concept(C#)

Use this link https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers protected internal: The type or ...READ MORE

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

Monaco Editor (react) with extended C# intellisense

To load certain code-files, I'm using the ...READ MORE

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

I don't understand inheritance with base classes

If you just want to keep a ...READ MORE

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

Solid Principle examples

I am not a specialist like others, ...READ MORE

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

How to get substring from string containing newlines

If you want to maintain the newline ...READ MORE

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

Logging DML operations in ASP.NET MVC project

There are several options. You might register an ...READ MORE

Jun 14, 2022 in C# by jyoti
• 1,240 points
940 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
1 answer

What is typing discipline

Wikipedia's typing discipline relates to the type ...READ MORE

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

How to send email in ASP.NET C#

You can try this using Hotmail like ...READ MORE

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

Music major scale converter

I believe I know what you're looking ...READ MORE

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

How to implement SOLID principles into an existing project

It will be a lengthy procedure. You ...READ MORE

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

Pass Method as Parameter using C#

In .NET 3.5, you can utilize the ...READ MORE

Jun 14, 2022 in C# by krishna
• 2,820 points
634 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
249 views
0 votes
1 answer

How to convert JSON text into objects using C#

To make a class out of a ...READ MORE

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

C# DateTime to "YYYYMMDDHHMMSS" format

Use this. It is case sensitive by ...READ MORE

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

Simple VB or C# questions for an interview

The difficulty with asking language-specific questions for ...READ MORE

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

What are some lightweight editors for C#

Use this link http://linqpad.net/ For me, this is better ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
333 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
273 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
1 answer

Adding New Form to Project - Windows Form Application C# (using Macbook)

To add a new form to your ...READ MORE

Jun 13, 2022 in C# by krishna
• 2,820 points
3,068 views
0 votes
1 answer

Is there an official logo of C#

There isn't an official logo, as far ...READ MORE

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

How to initialize a list of strings (List<string>) with many string values

Simply remove the () at the end. List<string> ...READ MORE

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

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

Newtonsoft.json can be used to accomplish this. ...READ MORE

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

Reading a key from the Web.Config using ConfigurationManager

Instead of any other thing, use the ...READ MORE

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

How do I specify the exit code of a console application in .NET

Simply put, you can return the exit ...READ MORE

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

Are these interview questions too challenging for beginners?

As a new employee, I would expect ...READ MORE

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

When would you use delegates in C#

Delegates come in handy for a variety ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
302 views