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
santosh kumar
NA
22
5.3k
I am getting in the output System.Collections.Generic.List
May 15 2018 1:14 PM
Hi,
I am getting System.Collections.Generic.List`1[System.String] in the output at "Allow prefixes" and "DenyPrefixes" instead of data.
Below is my code
public override string ToString()
{
var sb = new StringBuilder();
sb.Append("class IndexingPolicy {\n");
sb.Append(" AllowPrefixes: ").Append(AllowPrefixes).Append("\n");
sb.Append(" DenyPrefixes: ").Append(DenyPrefixes).Append("\n");
sb.Append(" DisableIndexing: ").Append(DisableIndexing).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
Reply
Answers (
1
)
SQL Select based on user input
database connection.