chevron_left

Recent posts tagged c#

0 0 3 min.
**Problem :** ========= *Currently, I am migrating from Identity 1.0.0 to Identity 2.0.1. But the migrations code generated is nothing about the new IdentityUser. And It does not even add the new columns. So I tried to make the new project and also ...
posted 3 days ago Alecxe01 807 points
0 0 2 min.
Problem : I am beginner to Xamarin. I am trying to learn Xamarin with the help of a tutorial, But now if I try to execute my following code I face below error. **“A namespace cannot directly contain members such as fields or methods”** *Please find...
posted Nov 22 Alecxe01 807 points
0 0 2 min.
**Problem :** ========= *I am new to Unity5. I am facing the following error while trying to do **setDestination**.* *"SetDestination" can only be called on an active agent that has been placed on a NavMesh. UnityEngine.NavMeshAgent:SetDestination(...
posted Nov 22 Alecxe01 807 points
0 0 1 min.
**Problem:** ======== *Hi, I need someones' help to solve this error " **Error in x[floor(d)] + x[ceiling(d)] : non-numeric argument to binary operator**"* *Thanks in advance* Solution: --------- In this case, I guess it doesn't have to do with...
posted Nov 19 Alecxe01 807 points
0 0 1 min.
**Problem :** ========= *I am getting into the **C#** coding but I am having the following issue:* *I have the below code on the UserControl:* using **MyFirstDataLayer.Section1; public class **MyFirstClass*** { protected void ...
posted Nov 12 Alecxe01 807 points
0 0 2 min.
**Problem :** ========= *I am facing below error while trying to compile my code of C# in visual Studio 2015.* **“There is no argument given that corresponds to the required formal parameter”** Solution : ---------- *I had also faced a same issu...
posted Nov 9 Alecxe01 807 points
0 0 4 min.
**Problem :** ========= I want to save on the **DB** the log of a multi-threaded processor but I am facing the following error: new transaction is not allowed because there are other threads running in the session. In each tread I have followi...
posted Oct 27 Alecxe01 807 points
0 0 2 min.
**Problem :** ========= I am unable to figure out what is wrong with my code. When I try to compile my code I get the below message: **“Program does not contain a static 'main' method suitable for an entry point”** Solution : ---------- *I ju...
posted Oct 27 Alecxe01 807 points
0 0 2 min.
## Introduction: ## A dictionary is a collection of related objects that stores data in the form of key: value pairs. Each value in a dictionary is associated with a key and can be referred to by that key. It is a generic class meaning that the data ...
posted Oct 14 Hafsa_Rao 390 points
0 0 2 min.
Working with random numbers is sometimes essential especially when you are going to develop some card game or dice game. Random numbers could also be used to create raffle applications. They are used extensively in application programming. So, in thi...
posted Oct 9 Hafsa_Rao 390 points
3 1 3 min.
Making a program wait means stopping the execution of the program for some time. This concept may seem senseless for now but as you keep reading this article, everything will start making sense. The need for stopping program execution for a particul...
posted Oct 7 Hafsa_Rao 390 points
0 0 3 min.
The length of any iterator refers to the number of elements it has. When we are working with Arrays in any C#, we have a property named **'Length**', which is used to find the length or the number of elements in an array. But when it comes to lists, ...
posted Oct 4 Hafsa_Rao 390 points
6 0 1 min.
Problem: -------- I need to convert a float value taken input from the user to int value for calculation. How can I do that? Any suggestions? Solution: --------- C# provides multiple mechanisms to convert one type of data into another. One of the ...
posted Sep 22 john_dev 45 points
4 0 1 min.
Problem: -------- Hello! How can I count the number of characters in a string automatically through c#? Solution: --------- You can count the number of characters in a string by using string.Length property. The syntax of using string.Length prop...
posted Sep 22 john_dev 45 points
4 0 1 min.
Problem: -------- Hi! I want to add a new line in my loop but it is printing the output on the same line repeatedly. I am programming in C#. Anybody, please guide me. Solution: ------- It seems to me that you are new in the world of C#. C# prov...
posted Sep 22 john_dev 45 points
6 0 3 min.
The problem seems to be related to the dependency service and often happens to occur when trying to open Security Center, Microsoft Exchange, Print Spooler, Themes, or any other service. According to Windows experts, the Error 1075 might have been tr...
posted Sep 17 SharadMagar450 320 points
6 0 2 min.
**Internet Explorer and Security settings.** After installing a server in my test environment, I immediately wanted to install the Windows Admin Center application. Lo and behold! I received an error message. “Your current security settings do not al...
posted Sep 17 SharadMagar450 320 points
6 0 5 min.
Alpha blending is used for displaying an alpha bitmap (this is a bitmap which has semi-transparent or transparent pixels). In addition to RBG colors, each pixel in an alpha bitmap also has a transparency component known as the alpha channel. ![][1] ...
posted Sep 17 SharadMagar450 320 points
6 0 7 min.
You might have encountered an error message that reads, “Your browser does not currently recognize any of the video formats available”. The error occurs while trying to play a video on YouTube, Vimeo, etc. using Firefox, Chrome, Opera, Vivaldi, and ...
posted Sep 17 SharadMagar450 320 points
4 0 3 min.
You have not saved the JPEG image file in a proper format. For instance, if you save a JPEG file in a TIFF format, it will preview as a thumbnail but will show invalid JPEG marker error when you try to open in PS. To know in detail how you can fix t...
posted Sep 16 SharadMagar450 320 points