Trending questions in C#

0 votes
1 answer

Converting dd/mm/yyyy formatted string to Datetime

Sounds to me like you need DateTime.ParseExact ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
12,226 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,479 views
0 votes
0 answers

Convert async Task from c# to vb.net

I'm using a C# to VB.NET converter ...READ MORE

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

Convert VB.NET --> C# Projects

Can someone suggest a suitable program that ...READ MORE

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

Roslyn: Convert C# to VB

I have a situation where I need ...READ MORE

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

Object Oriented Programming Basic Concept(C#)

We are aware that the default modifier ...READ MORE

Dec 12, 2022 in C# by Roshan
• 300 points
242 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
171 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
228 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
223 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
175 views
0 votes
1 answer

Windows Form application on Visual Studio Code?

There is a simpler way to achieve ...READ MORE

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

C# Potential Interview Question…Too hard?

Determine which Foo method will be invoked ...READ MORE

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

Why does one use dependency injection?

I'm making an effort to comprehend dependency ...READ MORE

Sep 26, 2022 in C# by krishna
• 2,820 points
274 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
215 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
251 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
201 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
234 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
228 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
168 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
169 views
0 votes
0 answers

Rich Text Editor on a web page

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

Sep 20, 2022 in C# by Edureka
• 13,620 points
284 views
0 votes
0 answers

Origin of the C# language name

Programmer in C and C++, currently attempting ...READ MORE

Sep 20, 2022 in C# by Edureka
• 13,620 points
270 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,654 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,582 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
2,767 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
1,958 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,864 views
0 votes
1 answer

OOP real world example

This is what I believe. OOP does not ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
730 views
0 votes
1 answer

C# class without main method

Not every single class need the main ...READ MORE

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

Which design pattern to use for pre-process process and post-process task

You have pre-defined and precise steps to ...READ MORE

Jun 9, 2022 in C# by rajiv
• 1,620 points
1,176 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,003 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
890 views
0 votes
0 answers

Convert XML String to Object

I'm getting XML strings over a socket ...READ MORE

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

Certifications for C# Developers

Try this link: https://docs.microsoft.com/en-us/learn/certifications/browse/?resource_type=certification Here you can see ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
350 views
0 votes
1 answer

array of string with unknown size

Is there a specific reason why an ...READ MORE

Jun 7, 2022 in C# by pranav
• 2,590 points
1,025 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
864 views
0 votes
0 answers

Use of interfaces, practical and real world example

I've been attempting to figure out what ...READ MORE

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

How and when to use ‘async’ and ‘await’

The compiler creates a state machine in ...READ MORE

Jul 4, 2022 in C# by krishna
• 2,820 points
298 views
0 votes
1 answer

What is the best C# to VB.net converter

Telerik has a solid SharpDevelop-based converter that ...READ MORE

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

How to add a gridview to a C# winforms project with a list of objects as the datasource

In Visual Studio 2015 community, I'm creating ...READ MORE

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

How can I compile and run c# program without using visual studio

If you have.NET Framework v4 installed, then C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe ...READ MORE

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

How to force overriding a method in a descendant, without having an abstract base class

This is my code using System; using System.Collections.Generic; using System.Linq; using ...READ MORE

Jun 11, 2022 in C# by krishna
• 2,820 points
759 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
578 views
0 votes
0 answers

ASP.NET Web API Connecting to MySQL Database

I'm new to C# and.Net programmes, but ...READ MORE

Jun 11, 2022 in C# by pranav
• 2,590 points
728 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
574 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
416 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
564 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
397 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
350 views