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
Guest User
Tech Writer
357
120.7k
Instantiation of a class to initialize fields...
Aug 28 2012 1:00 PM
Hi
Given code like the following:-
URL info = new URL("http://www.domain.com:80/info/");
The string "http://www.domain.com:80/info/" I know would be stored in a field and then accessed via an auto property like so
var getHost = info.Host; // www.domain.com
But how would the property "Host" or more importantly the underlining field split the string. I assume the logic to do this would be in the property itself?
Regards
Steven
Reply
Answers (
3
)
File Numbering Issue, files number not being updated...
c# dll