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
14,372 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
13,341 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,592 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
618 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
496 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
481 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
320 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
377 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
8,239 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
460 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
334 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
541 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
485 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
439 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
449 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
408 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
412 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
5,004 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
340 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
311 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
304 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
445 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
412 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,764 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
3,178 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
2,456 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,457 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,743 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,801 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,502 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
1,002 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
928 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
1,328 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,448 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
1,191 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
1,280 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
1,298 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
1,115 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
1,175 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
1,140 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,590 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
563 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
547 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
887 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
947 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
943 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
837 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
1,000 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
943 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
652 views