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
David McCrickard
NA
9
5.7k
Classes and Threads
Mar 10 2016 6:12 AM
I am new to C# and I have been asked to modify some code.
There is a public class outside of the only namespace in the project.
using System;
namespace USB_Transciever
{
// various methods
}
public class RX_DATA
{
public UInt16 Parse(Byte ch)
{
// Serial data parsed here
}
}
This class parses serial data from the comport. I was wondering if all of this happens on the same User Interface thread?
What are the implications of having this class outside the namespace?
When receiving data the progress bar will finish on 74% when all data has been received even though I know it has been given the value of 100.
Unfortunately I am learning as I go along so bare with me.
Thanks
Reply
Answers (
1
)
Understanding this code snippet
how can i show the currently logged in user?