Answers for "put resful api c# pass a class"

2

how to pass enum in postman body

export enum TestStatus {
    allCandidates,
    completedTest,
    expiredTest,
    blockedTest
}
{
    "TestStatus": "expiredTest"
}
Posted by: Guest on April-23-2020
0

add getenumerator to class c#

public bool MoveNext()
{
      position++;         
      return (position < carlist.Length);      
}      
public void Reset() => position = 0;
public object Current {         
       get { return carlist[position];}      
}
Posted by: Guest on November-24-2019

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language