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
Karlen Sahakyan
NA
47
4.6k
C# basics (ATTRIBUTES )
Jun 24 2019 2:34 AM
HELLO!!!
I have custom attribute
[AttributeUsage(AttributeTargets.Property)]
public class TestAttribute : Attribute
{
public string S;
public TestAttribute()
{
}
}
public class A
{
[Test]
public string str { get; set; }
}
How can I get value of properti in my attribute where i use my attribute?
For example i use my attribute for str properti how can i get str value in my TestAttribute Class?
Reply
Answers (
3
)
Websocket in MVC
how to insert multi record in grid view on one id of emp?