TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anthony Gordon
NA
9
0
Very simple question
Mar 22 2009 3:26 PM
I get the following error when the code below is compiled
Error 1 The left-hand side of an assignment must be a variable, property or indexer C:\Users\numerical25\AppData\Local\Temporary Projects\ConsoleApplication1\Program.cs 16 22 ConsoleApplication1
Can someone tell me whats wrong
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
for (int i = 1; i < 40; i++)
{
if ((i % 10) = 0)
{
}
}
}
}
}
Reply
Answers (
1
)
well I have some problem
convert float to int