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
Tarun Rajak
1.3k
461
341.7k
How to do recursive call of a generic T type param method?
Apr 7 2018 5:31 PM
How to do recursive call of a function having generic type parameter? for example: public T Deserialize(string json) { //// How can I do recursive call here? where type T is dynamic here. } Let a class Student public class Student { public Name FullName {get; set;} public int RollNo {get; set;} } public class Name { public string FirstName {get; set;} public string LastName {get; set;} } Now calling method: Deserialize(json)here how can I do recursive call to deserialize object Name.
Reply
Answers (
3
)
Search in Window using C-sharp
Create dynamic table based on the result of a query