15,912,329 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Sumit Lotankar (Top 5 by date)
Sumit Lotankar
28-Jan-13 6:20am
View
Sorry Edo for trouble ,but i want
is that the variable s to assigned to one of the element in the array
Ex:- varibale s to be assigned the value "Alabama" using USSates[0] reference ,
// string s = USStates[1].ToString(); dosent work
Sumit Lotankar
28-Jan-13 4:14am
View
How can i excess the array USStates.
ex: First element of array USStates(0) so to assign it to some variable
Sumit Lotankar
23-Jan-13 23:30pm
View
When is the get method geting invoked in this case,
as in other cases when
USState state = new USState("Washington", "WA");
//...
string whereAmI = state.LongName; // calculation of the value calls getter
state.LongName is in invoker in this case
========================================
Do this statement invoke get call
ListBox1.DisplayMember = "LongName";
ListBox1.ValueMember = "ShortName";
Sumit Lotankar
23-Jan-13 23:23pm
View
How can one access the items inside the array,supposing i wanted to assing
the the first item in the array list to some variable or textbox ,
USStates[0] dosent work
// Populate the list box using an array as DataSource.
ArrayList USStates = new ArrayList();
USStates.Add(new USState("Alabama", "AL"));
Sumit Lotankar
22-Jan-13 3:36am
View
How to change its scope so as it is available to the handler;