Hi All,
can anyone explain why we use continuewith in C#
return await Task.Run(() =>
{
using (sample d=new sample())
{
classa obj=new classa();
obj.name=a.name;
obj.address=a.address;
return d.create().continuewith((b)=>
return 'welcome';
) ;
}
why we use create.continuewith and why we write inside Task.Run()
can anyone explain the above code