I initialy created my class which contained constructors and method
Each of them has been saved in different files found in different folders , now the methods are in the Services folder and the constructors in Models folder
using HouseMS.Models;
namespace HouseMS.Services
{
internal...
I work on csharp i get error object reference not set to an instance of an object
code give me error
var Data = result.items.Select(e => new { PartID = e.create._id, IsUpdated = e.create.error != null && e.create.error.reason !=null && !e.create.error.reason.Contains("document already exists")...
Hello everyone. I will be grateful for your kind help on this one. I am trying to transfer a specific listview column items to a listbox in C#. Heres my effort below.
Unfortunately my code rather iterates though only the entry of the specified column and splits it as letters into the listbox...
Hello,
I have a database in Access with this architecture:
and I need with Linq to calculate and return the total price of a candidate’s training knowing that only the candidate who has attended at least 5 trainings gets a 20% discount.
how to get this result with linq?
Problem
Error display in linq query "specific cast is not valid" at System.Data.DataRowExtensions.UnboxT`1.ValueField(Object value) at System.Data.DataRowExtensions.Field[T](DataRow row, String columnName)
LinqQuery give error
var query1 = (from x in table1.AsEnumerable()...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Threading;
namespace newClient
{
class Connection
{
//Thread _threadObj;
TcpClient _TcpObj...
I have encountered an issue while upgrading an application from .Net Framework 3.5 to latest version with .NET Framework 4.5.1. I came into a situation, where one application is using a logger assembly built with .NET framework 3.5, another application(built on 4.5.1) tries to uninstall same...
:mask:
I want to print the the product of digits in a number using the following code. Plz view the following code and find me the error in it and help me to solve it in 2 different ways using static method and also in general manner using do while loop in the main method
namespace Prime2
{...
We're software and hardware company, which oriented on international market more that 12 years. Our company is expanding and we are looking for new employees to our friendly staff. Our office is located in the center of Kiev, capital of Ukraine. And it doesn't matter where you are from, we will...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.